Add placeholder

- Shows up as e.g. 'Building name (if any)'

Closes #79
This commit is contained in:
Tom Russell 2018-10-05 22:47:37 +01:00
parent 4605cb68c9
commit 3085537f33

View File

@ -184,6 +184,7 @@ const TextInput = (props) => (
id={props.slug} name={props.slug} id={props.slug} name={props.slug}
value={props.value || ""} value={props.value || ""}
disabled={props.disabled} disabled={props.disabled}
placeholder={props.placeholder}
onChange={props.handleChange} onChange={props.handleChange}
/> />
</Fragment> </Fragment>