Skip to content

Commit

Permalink
Fixing the disabled condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwanthkumar-avalara committed Jul 5, 2020
1 parent aa286b7 commit 1d723a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/ConfigureOrSelectAutoMLProject.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ export function ConfigureOrSelectAutoMLProject({ appState, setAppState }) {
<FormField label="Name of the new Dataset">
<Input
value={newDatasetName}
disabled={createDatasetIsLoading}
onChange={(value) => {
setNewDatasetName(value.target.value);
}}
Expand All @@ -204,7 +205,7 @@ export function ConfigureOrSelectAutoMLProject({ appState, setAppState }) {
{ value: "MULTILABEL", label: "MULTILABEL" },
]}
value={newDatasetClassificationType}
disabled={!createDatasetIsLoading}
disabled={createDatasetIsLoading}
onChange={(value) => {
setNewDatasetClassificationType(value as string);
}}
Expand Down

0 comments on commit 1d723a2

Please sign in to comment.