MaximeRainville\SilverstripeReact\ReactFormField
Base class that can be extended to create a React Form field.
Synopsis
class ReactFormField
extends FormField
implements
ReactComponent
{
- // members
- protected bool $renderInput = false;
- // methods
- 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
- HiddenID()
- RenderInput() — Control if the SS template should render an hidden input tag
- getAttributes()
- getComponent()
- getProps()