Skip to content

Commit

Permalink
MAT-7792: fix weird enabled condition before blur.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmcphillips committed Dec 11, 2024
1 parent 67911c0 commit 8330173
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ export default function ArgumentSection(props: ArgumentsProps) {
helperText={formik.errors.dataType}
onChange={(evt) => {
formik.setFieldValue("dataType", evt.target.value);
formik.setFieldValue("other", "");
if (formik.values.other) {
formik.setFieldValue("other", "");
}
}}
/>
</div>
Expand Down

0 comments on commit 8330173

Please sign in to comment.