silverstripe-framework/admin/client/src/components/TextField
David Craig 7fcdf35438 Add DetailEditForm to Campaign admin
- Add edit form to campaigns section
- Handle form submissions with FormBuilder
- Handle form state via Redux
- Garbage collect form state
- Removes $itemID as a required param for schema requests.
  Developers should be able to scaffold forms without populating
  values from an existing record. For example when building a form for creating new records.
2016-04-26 15:32:07 +12:00
..
tests Add DetailEditForm to Campaign admin 2016-04-26 15:32:07 +12:00
README.md Add DetailEditForm to Campaign admin 2016-04-26 15:32:07 +12:00
TextField.js Add DetailEditForm to Campaign admin 2016-04-26 15:32:07 +12:00

Text Field Component

Generates an editable text field.

Props

leftTitle

The label text to display with the field.

extraClass

Addition CSS classes to apply to the <input> element.

name (required)

Used for the field's name attribute.

handleFieldUpdate

Handler function called when the field's value changes.

value

The field's value.