diff options
Diffstat (limited to 'web-ui/src/common/input_field')
-rw-r--r-- | web-ui/src/common/input_field/input_field.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/src/common/input_field/input_field.js b/web-ui/src/common/input_field/input_field.js index a92faeb9..332d5911 100644 --- a/web-ui/src/common/input_field/input_field.js +++ b/web-ui/src/common/input_field/input_field.js @@ -19,11 +19,11 @@ import React from 'react'; import './input_field.scss'; -const InputField = ({ label, name, type = 'text' }) => ( +const InputField = ({ label, name, type = 'text', ...other }) => ( <div className='input-field-group'> <input type={type} name={name} className='input-field' - autoFocus='' required + required {...other} /> <label className='input-field-label' htmlFor={name}>{label}</label> </div> |