Skip to content

Commit

Permalink
fix #7486 enable save button on adding options in select/multiselect (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
NitinPSingh authored Oct 9, 2024
1 parent 8418729 commit 855060a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,13 +181,13 @@ export const SettingsDataModelFieldSelectForm = ({
const handleAddOption = () => {
const newOptions = getOptionsWithNewOption();

setFormValue('options', newOptions);
setFormValue('options', newOptions, { shouldDirty: true });
};

const handleInputEnter = () => {
const newOptions = getOptionsWithNewOption();

setFormValue('options', newOptions);
setFormValue('options', newOptions, { shouldDirty: true });
};

return (
Expand Down

0 comments on commit 855060a

Please sign in to comment.