class Hidden extends TwillFormComponent (View source)

Properties

Model|null $item from  TwillFormComponent
array $form_fields from  TwillFormComponent
string|null $formModuleName from  TwillFormComponent
string|null $routePrefix from  TwillFormComponent

Methods

__construct(string $name, string $label = null, bool $renderForBlocks = false, bool $renderForModal = false, bool $translated = false, bool $required = false, string|null $note = '', mixed $default = null, bool $disabled = false, bool $readOnly = false, bool $inModal = false, mixed $value = null, string $type = 'text', string|null $placeholder = '', int|null $maxlength = null, int|null $rows = null, string|null $ref = null, string|null $onChange = null, string|null $onChangeAttribute = null, string|null $prefix = null, int|null $min = null, int|null $max = null, int|null $step = null, string|null $mask = null)

No description

string
formFieldName(bool $asAttributes = false, string|null $customName = null)

No description

View
render()

No description

Details

__construct(string $name, string $label = null, bool $renderForBlocks = false, bool $renderForModal = false, bool $translated = false, bool $required = false, string|null $note = '', mixed $default = null, bool $disabled = false, bool $readOnly = false, bool $inModal = false, mixed $value = null, string $type = 'text', string|null $placeholder = '', int|null $maxlength = null, int|null $rows = null, string|null $ref = null, string|null $onChange = null, string|null $onChangeAttribute = null, string|null $prefix = null, int|null $min = null, int|null $max = null, int|null $step = null, string|null $mask = null)

No description

Parameters

string $name
string $label
bool $renderForBlocks
bool $renderForModal
bool $translated
bool $required
string|null $note
mixed $default
bool $disabled
bool $readOnly
bool $inModal
mixed $value
string $type
string|null $placeholder
int|null $maxlength
int|null $rows
string|null $ref
string|null $onChange
string|null $onChangeAttribute
string|null $prefix
int|null $min
int|null $max
int|null $step
string|null $mask

string formFieldName(bool $asAttributes = false, string|null $customName = null)

No description

Parameters

bool $asAttributes
string|null $customName

Return Value

string

View render()

No description

Return Value

View