We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d17c40 commit d2b7c30Copy full SHA for d2b7c30
1 file changed
opencti-platform/opencti-front/src/private/components/common/form/StatusTemplateField.tsx
@@ -130,9 +130,9 @@ const StatusTemplateField: FunctionComponent<StatusTemplateFieldProps> = ({
130
required={required}
131
noOptionsText={t_i18n('No available options')}
132
options={statusTemplates}
133
- onInputChange={(event: React.FocusEvent<HTMLInputElement>) => (
134
- handleSearch(event.target?.value)
135
- )}
+ onInputChange={(_event: React.FocusEvent<HTMLInputElement>, value: string) => {
+ handleSearch(value);
+ }}
136
openCreate={handleOpenStatusTemplateCreation}
137
renderOption={(
138
{ key, ...optionProps }: React.HTMLAttributes<HTMLLIElement> & { key?: string | number },
0 commit comments