Added placeholder support to custom text fields

Summary: placeholder text is pretty useful.

Test Plan: placeholder text is pretty useful. also fully supports not breaking everything.

Reviewers: chad, #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9223
This commit is contained in:
Tal Shiri
2014-05-22 09:12:54 -07:00
committed by epriestley
parent 3c8d88deb4
commit 2133e61048
4 changed files with 35 additions and 1 deletions

View File

@@ -103,6 +103,8 @@ When defining custom fields using a configuration option like
type. See below.
- **instructions**: Optional block of remarkup text which will appear
above the control when rendered on the edit view.
- **placeholder**: A placeholder text that appears on text boxes. Only
supported in text, int and remarkup fields (optional).
The `strings` value supports different strings per control type. They are: