Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix unresponsive text field

dominik-zeglene195ff161400
diff --git a/saleor/static/dashboard-next/components/TextFieldWithChoice/TextFieldWithChoice.tsx b/saleor/static/dashboard-next/components/TextFieldWithChoice/TextFieldWithChoice.tsx
index 22df622c6e..66d5a39b81 100644
--- a/saleor/static/dashboard-next/components/TextFieldWithChoice/TextFieldWithChoice.tsx
+++ b/saleor/static/dashboard-next/components/TextFieldWithChoice/TextFieldWithChoice.tsx
@@ -41,7 +41,6 @@ const TextFieldWithChoice = withStyles(styles, {
ChoiceProps,
InputProps,
classes,
- name,
onChange,
...props
}: TextFieldWithChoiceProps & WithStyles<typeof styles>) => (
@@ -49,6 +48,7 @@ const TextFieldWithChoice = withStyles(styles, {
{anchor => (
<TextField
{...props}
+ onChange={onChange}
InputProps={{
...InputProps,
endAdornment: (