diff --git a/src/components/atoms/Form/Input.tsx b/src/components/atoms/Form/Input.tsx index bb2dd28..d05b33c 100644 --- a/src/components/atoms/Form/Input.tsx +++ b/src/components/atoms/Form/Input.tsx @@ -48,12 +48,21 @@ export default class Input extends PureComponent { } public InputComponent = () => { - const { type, options, group, name } = this.props + const { type, options, group, name, required } = this.props + + const wrapClass = this.inputWrapClasses() if (type === 'select') { return ( -
- {options && options.map((option: string, index: number) => ( @@ -71,8 +80,14 @@ export default class Input extends PureComponent { ) } else if (type === 'textarea') { return ( -
-