ywana-core8 0.0.367 → 0.0.368
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +2 -2
- package/dist/index.css.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/textfield.css +1 -1
- package/src/html/textfield.js +2 -1
package/package.json
CHANGED
package/src/html/textfield.css
CHANGED
package/src/html/textfield.js
CHANGED
@@ -158,6 +158,7 @@ export const DropDown = (props) => {
|
|
158
158
|
}
|
159
159
|
|
160
160
|
function select(event) {
|
161
|
+
console.log(event)
|
161
162
|
const next = event.target.getAttribute("value")
|
162
163
|
const option = options.find(option => option.value === next)
|
163
164
|
if (onChange) onChange(id, next)
|
@@ -179,7 +180,7 @@ export const DropDown = (props) => {
|
|
179
180
|
|
180
181
|
return (
|
181
182
|
<div className="dropdown">
|
182
|
-
<TextField {...props}
|
183
|
+
<TextField {...props} value={label} onChange={change} readOnly={!predictive}/>
|
183
184
|
{!readOnly ? <Icon icon="expand_more" clickable size="small" action={toggle} /> : null }
|
184
185
|
{renderOptions()}
|
185
186
|
</div>
|