Skip to content

Commit

Permalink
fix twentyhq#7486 enable save button on adding options in select/mult…
Browse files Browse the repository at this point in the history
  • Loading branch information
NitinPSingh authored and harshit078 committed Oct 14, 2024
1 parent 443dc02 commit 1697d79
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 1697d79

Please sign in to comment.