F
Filamentβ€’16mo ago
NDO

RichEditor field unfocus on value change

Hi guys πŸ‘‹ I am trying to use RichEditor field for comment body inside my RelationManager form. But it unfocus me from the field on each keyup event inside the mentioned RichEditor. Does any of you know how to avoid this behaivor?
public function form(Form $form): Form
{
return $form
->schema([
RichEditor::make('body')
->disableToolbarButtons([
'attachFiles',
'codeBlock',
])
->hiddenLabel()
->rules(['required', 'string']),
]);
}
public function form(Form $form): Form
{
return $form
->schema([
RichEditor::make('body')
->disableToolbarButtons([
'attachFiles',
'codeBlock',
])
->hiddenLabel()
->rules(['required', 'string']),
]);
}
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server