iguazio.dashboard-react-controls 1.2.3 → 1.2.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.
|
@@ -272,8 +272,7 @@ var FormCombobox = function FormCombobox(_ref) {
|
|
|
272
272
|
}
|
|
273
273
|
}, [input, onBlur, onFocus, showSelectDropdown]);
|
|
274
274
|
var validateField = function validateField(value, allValues) {
|
|
275
|
-
var
|
|
276
|
-
var valueToValidate = (_value$split$ = value.split(selectValue.id)[1]) !== null && _value$split$ !== void 0 ? _value$split$ : '';
|
|
275
|
+
var valueToValidate = value.startsWith(selectValue.id) ? value.substring(selectValue.id.length) : value !== null && value !== void 0 ? value : '';
|
|
277
276
|
var validationError = null;
|
|
278
277
|
if (!(0, _lodash.isEmpty)(validationRules)) {
|
|
279
278
|
var _checkPatternsValidit = (0, _validation.checkPatternsValidity)(rules, valueToValidate),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iguazio.dashboard-react-controls",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "Collection of resources (such as CSS styles, fonts and images) and ReactJS 17.x components to share among different Iguazio React repos.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|