@unbxd-ui/unbxd-react-components 0.2.145-beta.2 → 0.2.145-beta.4
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.
|
@@ -63,10 +63,12 @@ var Checkbox = function Checkbox(props) {
|
|
|
63
63
|
className: className,
|
|
64
64
|
appearance: appearance
|
|
65
65
|
}, /*#__PURE__*/_react["default"].createElement("input", _extends({}, inputProps, {
|
|
66
|
-
"data-hj-allow": true
|
|
66
|
+
"data-hj-allow": true,
|
|
67
|
+
title: label
|
|
67
68
|
})), /*#__PURE__*/_react["default"].createElement("label", {
|
|
68
69
|
className: "RCB-form-el-label",
|
|
69
|
-
htmlFor: name
|
|
70
|
+
htmlFor: name,
|
|
71
|
+
title: label
|
|
70
72
|
}, label));
|
|
71
73
|
};
|
|
72
74
|
Checkbox.propTypes = {
|
|
@@ -297,6 +297,8 @@ var SearchableDropdown = function SearchableDropdown(props, ref) {
|
|
|
297
297
|
setSelectedItems(arrayPostValue);
|
|
298
298
|
if (arrayPostValue.length > 0) {
|
|
299
299
|
setSearchQuery(arrayPostValue[0][nameAttribute]);
|
|
300
|
+
} else {
|
|
301
|
+
setSearchQuery("");
|
|
300
302
|
}
|
|
301
303
|
}
|
|
302
304
|
postFormValueChange(postValue);
|