issue : #7486 demo https://github.com/user-attachments/assets/0b1ed9de-2aa1-4910-bfc7-01732b89367f
This commit is contained in:
@ -181,13 +181,13 @@ export const SettingsDataModelFieldSelectForm = ({
|
|||||||
const handleAddOption = () => {
|
const handleAddOption = () => {
|
||||||
const newOptions = getOptionsWithNewOption();
|
const newOptions = getOptionsWithNewOption();
|
||||||
|
|
||||||
setFormValue('options', newOptions);
|
setFormValue('options', newOptions, { shouldDirty: true });
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleInputEnter = () => {
|
const handleInputEnter = () => {
|
||||||
const newOptions = getOptionsWithNewOption();
|
const newOptions = getOptionsWithNewOption();
|
||||||
|
|
||||||
setFormValue('options', newOptions);
|
setFormValue('options', newOptions, { shouldDirty: true });
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user