$name exists, you can just set the model instead of a value. * @param string|null $prefix Used in loops to differentiate Ids */ public function __construct( public string $name, public string $type = 'text', public ?string $label = null, public ?string $placeholder = null, public ?string $help = null, public bool $required = false, public bool $disabled = false, public bool $readonly = false, public string $gridLayout = '', public mixed $value = null, public mixed $model = null, public ?string $prefix = null, ) { $baseClass = $this->type === 'file' ? 'file-input w-full' : 'input input-bordered w-full'; $this->initFormField( name: $name, label: $label, placeholder: $placeholder, help: $help, required: $required, disabled: $disabled, readonly: $readonly, gridLayout: $gridLayout, value: $value, model: $model, prefix: $prefix, baseClass: $baseClass, ); $this->view = 'sk::components.form.input'; } }