MaximeRainville\SilverstripeReact\Tests\Components\GenericReactFormField
Synopsis
class GenericReactFormField
extends ReactFormField
{
- // Inherited members from ReactFormField
- protected bool $renderInput;
- // methods
- public void __construct()
- public void getComponent()
- // Inherited methods from ReactFormField
- public array getAttributes()
- public void getProps()
- public abstract void getComponent()
- public void RenderInput()
- public void HiddenID()
Hierarchy
Members
protected
- $renderInput
—
MaximeRainville\SilverstripeReact\bool
Whether an input taf shoulde be rendered when using the React component in an entwine form. If the React implementation of the field does not output an input tag (or someother HTML form field), this should be set to true.
Methods
public
Inherited from MaximeRainville\SilverstripeReact\ReactFormField
public
- HiddenID()
- RenderInput() — Control if the SS template should render an hidden input tag
- getAttributes()
- getComponent()
- getProps()