We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a0e737 commit 63f8cc9Copy full SHA for 63f8cc9
libs/ui-lib/lib/common/components/ui/formik/RichInputField.tsx
@@ -87,6 +87,7 @@ const RichInputField: React.FC<RichInputFieldPropsProps> = React.forwardRef(
87
validate,
88
idPostfix,
89
richValidationMessages,
90
+ noDefaultOnChange,
91
...props
92
},
93
ref: React.Ref<HTMLInputElement>,
@@ -119,6 +120,10 @@ const RichInputField: React.FC<RichInputFieldPropsProps> = React.forwardRef(
119
120
isRequired={isRequired}
121
aria-describedby={`${fieldId}-helper`}
122
className="rich-input__text"
123
+ onChange={(event) => {
124
+ if (!popoverOpen) setPopoverOpen(true);
125
+ !noDefaultOnChange && field.onChange(event);
126
+ }}
127
/>
128
</InputGroupItem>
129
<InputGroupItem>
0 commit comments