SilverStripe\Link\Form\JsonField
Field designed to edit complex data passed as a JSON string. Other FormFields can be built on top of this one.
It will output a hidden input with serialize JSON Data.
Synopsis
class JsonField
extends FormField
{
- // members
- protected $schemaDataType = FormField::SCHEMA_DATA_TYPE_CUSTOM;
- protected string $inputType = 'hidden';
- // methods
- public void setValue()
- public $this saveInto()
- protected void parseString()
Hierarchy
Extends
- SilverStripe\Forms\FormField
Members
protected
- $inputType
- $schemaDataType