@pinuts/bsr-uikit-relaunch 0.2.82 → 0.2.84
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/hooks/withFieldGroup.js +1 -1
- package/dist/index.js +1 -1
- package/dist/items/eventWizardItems/EventPicker/Components/CheckboxField.d.ts.map +1 -1
- package/dist/items/eventWizardItems/EventPicker/Components/CheckboxField.js +4 -13
- package/dist/items/eventWizardItems/EventPicker/EventPicker.d.ts.map +1 -1
- package/dist/items/eventWizardItems/EventPicker/EventPicker.js +4 -3
- package/dist/styles/_form.scss +4 -4
- package/package.json +1 -1
|
@@ -86,7 +86,7 @@ const withFieldGroup = FieldComponent => props => {
|
|
|
86
86
|
const showHelpText = (0, _react.useMemo)(() => helpText && (!viewMode || FieldComponent.formFieldConfig?.showHelpTextInViewMode), [helpText, viewMode]);
|
|
87
87
|
const showMaxCharacters = maxCharacters && !(readOnly || disabled || viewMode);
|
|
88
88
|
const showIsInvalid = isInvalid && !viewMode && validationMessage;
|
|
89
|
-
const showIsSuccess = meta?.touched && !isInvalid;
|
|
89
|
+
const showIsSuccess = meta?.touched && !isInvalid && (!isRequired || isRequired && value && value.length > 0);
|
|
90
90
|
const tooltipRef = (0, _react.useRef)(null);
|
|
91
91
|
(0, _react.useEffect)(() => {
|
|
92
92
|
const adjustTooltipPosition = () => {
|