class Color 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, string|null $note = '', bool $inModal = false, bool $readOnly = false, bool $renderForBlocks = false, bool $renderForModal = false, bool $disabled = false, bool $required = false, bool $translated = false, mixed $default = null)

No description

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

No description

View
render()

No description

Details

__construct(string $name, string $label, string|null $note = '', bool $inModal = false, bool $readOnly = false, bool $renderForBlocks = false, bool $renderForModal = false, bool $disabled = false, bool $required = false, bool $translated = false, mixed $default = null)

No description

Parameters

string $name
string $label
string|null $note
bool $inModal
bool $readOnly
bool $renderForBlocks
bool $renderForModal
bool $disabled
bool $required
bool $translated
mixed $default

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