diff options
Diffstat (limited to 'packages/forms/src/input/index.tsx')
-rw-r--r-- | packages/forms/src/input/index.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/forms/src/input/index.tsx b/packages/forms/src/input/index.tsx index ab1c33315..5178904d3 100644 --- a/packages/forms/src/input/index.tsx +++ b/packages/forms/src/input/index.tsx | |||
@@ -105,6 +105,7 @@ class InputComponent extends Component<IProps, IState> { | |||
105 | min, | 105 | min, |
106 | max, | 106 | max, |
107 | step, | 107 | step, |
108 | required, | ||
108 | } = this.props; | 109 | } = this.props; |
109 | 110 | ||
110 | const { | 111 | const { |
@@ -123,6 +124,7 @@ class InputComponent extends Component<IProps, IState> { | |||
123 | title={label} | 124 | title={label} |
124 | showLabel={showLabel} | 125 | showLabel={showLabel} |
125 | htmlFor={id} | 126 | htmlFor={id} |
127 | isRequired={required} | ||
126 | > | 128 | > |
127 | <div | 129 | <div |
128 | className={classnames({ | 130 | className={classnames({ |