mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-25 22:19:33 +02:00
.. | ||
tests | ||
index.js | ||
readme.md |
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.