silverstripe-framework/admin/client/src/components/TextField
Ingo Schommer d9f0914e4f Use props.extraClass on TextField holder
This should be separated out to a common FormField class,
but for now we're only using TextField. Can be solved
properly at the same time as switching form fields to
react-bootstrap.

Required for readonly field value alignment in the "campaigns" edit form.
2016-05-10 10:45:12 +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 Use props.extraClass on TextField holder 2016-05-10 10:45:12 +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.