silverstripe-framework/admin/javascript/src/components/text-field
2016-04-06 10:43:33 +12:00
..
tests Add ESLint support 2016-04-06 10:43:33 +12:00
index.js Add ESLint support 2016-04-06 10:43:33 +12:00
readme.md Add generic React components 2016-04-06 08:35:50 +12:00

Text Field Component

Generates an editable text field.

Props

label

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.

onChange

Handler function called when the field's value changes.

value

The field's value.