@rhc-shared-components/form-multi-select-component 0.0.1 → 0.0.3

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/CHANGELOG.md ADDED
@@ -0,0 +1,16 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## [0.0.2](https://gitlab.cee.redhat.com/customer-platform/rhc-shared-components/compare/@rhc-shared-components/form-multi-select-component@0.0.1...@rhc-shared-components/form-multi-select-component@0.0.2) (2022-01-05)
7
+
8
+ **Note:** Version bump only for package @rhc-shared-components/form-multi-select-component
9
+
10
+
11
+
12
+
13
+
14
+ ## 0.0.1 (2021-12-06)
15
+
16
+ **Note:** Version bump only for package @rhc-shared-components/form-multi-select-component
package/dist/index.js CHANGED
@@ -102,7 +102,7 @@ var FormMultiSelectInput = function FormMultiSelectInput(_ref) {
102
102
  };
103
103
 
104
104
  return React__namespace.createElement(React__namespace.Fragment, null, React__namespace.createElement(formGroupContainer.FormGroupContainer, {
105
- validated: meta.error ? reactCore.ValidatedOptions.error : reactCore.ValidatedOptions["default"],
105
+ validated: meta.touched && meta.error ? reactCore.ValidatedOptions.error : reactCore.ValidatedOptions["default"],
106
106
  helperTextInvalid: meta.error,
107
107
  isRequired: isRequired,
108
108
  fieldId: rest.name,
@@ -75,7 +75,7 @@ const FormMultiSelectInput = _ref => {
75
75
  };
76
76
 
77
77
  return React.createElement(React.Fragment, null, React.createElement(FormGroupContainer, {
78
- validated: meta.error ? ValidatedOptions.error : ValidatedOptions.default,
78
+ validated: meta.touched && meta.error ? ValidatedOptions.error : ValidatedOptions.default,
79
79
  helperTextInvalid: meta.error,
80
80
  isRequired: isRequired,
81
81
  fieldId: rest.name,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rhc-shared-components/form-multi-select-component",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "project description",
5
5
  "author": "shkale",
6
6
  "license": "MIT",