diff options
Diffstat (limited to 'animism-align/frontend/app/common/form.component.js')
| -rw-r--r-- | animism-align/frontend/app/common/form.component.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/animism-align/frontend/app/common/form.component.js b/animism-align/frontend/app/common/form.component.js index 4b6616e..37ef9e0 100644 --- a/animism-align/frontend/app/common/form.component.js +++ b/animism-align/frontend/app/common/form.component.js @@ -5,7 +5,7 @@ export const TextInput = props => ( <label className={(props.error ? 'error' : 'text') + (props.className ? ' ' + props.className : '')}> {props.title && <span>{props.title}</span>} <input - type="text" + type={props.type || "text"} required={props.required} onChange={props.onChange} onBlur={props.onBlur} @@ -238,5 +238,6 @@ export const SubmitButton = (props) => ( className={props.className ? "submit " + props.className : "submit"} onClick={props.onClick} >{props.title}</button> + {props.after && <span>{props.after}</span>} </label> ) |
