Skip to content

Commit

Permalink
fix(input): fix missing type attribute
Browse files Browse the repository at this point in the history
fixes #9
  • Loading branch information
nolimits4web committed Sep 9, 2021
1 parent 49f5b0a commit 239babd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react/components/ListInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ const ListInput = forwardRef((props, ref) => {
if (input) return input;
const InputComponent =
type === 'select' || type === 'textarea' ? type : 'input';
const needsType = type === 'input';
const needsType = InputComponent === 'input';
return (
<InputComponent
id={inputId}
Expand Down

0 comments on commit 239babd

Please sign in to comment.