Skip to content

Commit

Permalink
[frontend] Modifies autocomplete which causes form visual validation …
Browse files Browse the repository at this point in the history
…discrepancy (OpenCTI-Platform#7401)
  • Loading branch information
ParamConstructor authored Jul 9, 2024
1 parent 9580cbf commit 3d4a2ac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ const AutocompleteField = (props) => {
value={value}
name={name}
fullWidth={true}
error={!isNil(meta.error) && meta.touched}
helperText={(meta.touched && meta.error) || textfieldprops.helperText}
error={!isNil(meta.error)}
helperText={meta.error || textfieldprops.helperText}
/>
)}
onChange={internalOnChange}
Expand Down

0 comments on commit 3d4a2ac

Please sign in to comment.