@rhc-shared-components/form-select-component 0.0.1 → 0.0.2
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.js +8 -8
- package/dist/index.modern.js +8 -8
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -9702,15 +9702,15 @@ var FormSelect = function FormSelect(_ref) {
|
|
|
9702
9702
|
|
|
9703
9703
|
React__namespace.useEffect(function () {
|
|
9704
9704
|
setSelected(value);
|
|
9705
|
-
}, [value]);
|
|
9706
|
-
|
|
9707
|
-
|
|
9708
|
-
|
|
9709
|
-
|
|
9710
|
-
|
|
9711
|
-
|
|
9705
|
+
}, [value]); // React.useEffect(() => {
|
|
9706
|
+
// // Code to reset check mark when the options are changed
|
|
9707
|
+
// if (value) {
|
|
9708
|
+
// setFieldValue(rest.name, '');
|
|
9709
|
+
// validateField(rest.name);
|
|
9710
|
+
// }
|
|
9711
|
+
// // eslint-disable-next-line
|
|
9712
|
+
// }, [selectOptions]);
|
|
9712
9713
|
|
|
9713
|
-
}, [selectOptions]);
|
|
9714
9714
|
return React__namespace.createElement(React__namespace.Fragment, null, React__namespace.createElement(formGroupContainer.FormGroupContainer, {
|
|
9715
9715
|
validated: meta.touched && meta.error ? reactCore.ValidatedOptions.error : reactCore.ValidatedOptions["default"],
|
|
9716
9716
|
helperTextInvalid: meta.error,
|
package/dist/index.modern.js
CHANGED
|
@@ -9651,15 +9651,15 @@ const FormSelect = _ref => {
|
|
|
9651
9651
|
|
|
9652
9652
|
React.useEffect(() => {
|
|
9653
9653
|
setSelected(value);
|
|
9654
|
-
}, [value]);
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
9654
|
+
}, [value]); // React.useEffect(() => {
|
|
9655
|
+
// // Code to reset check mark when the options are changed
|
|
9656
|
+
// if (value) {
|
|
9657
|
+
// setFieldValue(rest.name, '');
|
|
9658
|
+
// validateField(rest.name);
|
|
9659
|
+
// }
|
|
9660
|
+
// // eslint-disable-next-line
|
|
9661
|
+
// }, [selectOptions]);
|
|
9661
9662
|
|
|
9662
|
-
}, [selectOptions]);
|
|
9663
9663
|
return React.createElement(React.Fragment, null, React.createElement(FormGroupContainer, {
|
|
9664
9664
|
validated: meta.touched && meta.error ? ValidatedOptions.error : ValidatedOptions.default,
|
|
9665
9665
|
helperTextInvalid: meta.error,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rhc-shared-components/form-select-component",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "project description",
|
|
5
5
|
"author": "redhatofficial",
|
|
6
6
|
"license": "MIT",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "6ffa0b973fd1f7bfda0fdfc8db92dcd020aa394b"
|
|
78
78
|
}
|