Skip to content

Commit

Permalink
fix: validate form on inputs change
Browse files Browse the repository at this point in the history
  • Loading branch information
ilbertt committed May 19, 2024
1 parent a9f7a9d commit bb519ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/components/new-deployment-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ export const NewDeploymentForm: React.FC<NewDeploymentFormProps> = ({ isLoading,
envVariables: [{ name: "", value: "" }],
tier: DeploymentTier.SMALL,
},
mode: "onChange",
reValidateMode: "onChange",
});

Expand Down

0 comments on commit bb519ec

Please sign in to comment.