ywana-core8 0.0.172 → 0.0.173
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 +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +4 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +4 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/textfield.js +2 -1
package/dist/index.modern.js
CHANGED
@@ -945,7 +945,10 @@ var DropDown = function DropDown(props) {
|
|
945
945
|
var option = options.find(function (option) {
|
946
946
|
return option.value === value;
|
947
947
|
});
|
948
|
-
|
948
|
+
|
949
|
+
var _label = option ? option.label : "";
|
950
|
+
|
951
|
+
setLabel(_label);
|
949
952
|
}
|
950
953
|
}, [value]);
|
951
954
|
|