Skip to content

Commit

Permalink
Set form dirty when switch is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosthe19916 committed Oct 25, 2022
1 parent 8d4f8eb commit bf24ff2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ export const Packages: React.FC<PackagesProps> = ({
enablePackageSelection={enablePackageSelection}
onEnablePackageSelecionChange={(isChecked) => {
setEnablePackageSelection(isChecked);
setDirty(true);
}}
packages={packages || []}
selectedPackages={selectedPackages}
Expand Down

0 comments on commit bf24ff2

Please sign in to comment.