From 3085537f33dc2873a084ff35a5387940d2e60556 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Fri, 5 Oct 2018 22:47:37 +0100 Subject: [PATCH] Add placeholder - Shows up as e.g. 'Building name (if any)' Closes #79 --- app/src/frontend/building-edit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/frontend/building-edit.js b/app/src/frontend/building-edit.js index 124d6be7..61cf0ee2 100644 --- a/app/src/frontend/building-edit.js +++ b/app/src/frontend/building-edit.js @@ -184,6 +184,7 @@ const TextInput = (props) => ( id={props.slug} name={props.slug} value={props.value || ""} disabled={props.disabled} + placeholder={props.placeholder} onChange={props.handleChange} />