fernando
fernando
FFilament
Created by fernando on 7/31/2024 in #❓┊help
builder bug
tysm man helped me a lot!
9 replies
FFilament
Created by fernando on 7/31/2024 in #❓┊help
builder bug
thanks it worked!! just one more thing, i used the builder multiple times in my code, do i have to add this function in all of them or can i do something to change it for good?
9 replies
FFilament
Created by fernando on 7/31/2024 in #❓┊help
builder bug
sorry, here's my code:
protected function getTemplateTextoListaNumeros(): Component
{
return Builder::make(self::ListaNumeros->getLabel())
->hiddenLabel()
->blocks([
Block::make('Item')
->schema([
RichEditor::make('texto')
->toolbarButtons([
'bold',
'underline',
'italic',
'strike',
'redo',
'undo',
'link',
])
->label('Texto')
->required(),
])
])
->collapsed();
}
protected function getTemplateTextoListaNumeros(): Component
{
return Builder::make(self::ListaNumeros->getLabel())
->hiddenLabel()
->blocks([
Block::make('Item')
->schema([
RichEditor::make('texto')
->toolbarButtons([
'bold',
'underline',
'italic',
'strike',
'redo',
'undo',
'link',
])
->label('Texto')
->required(),
])
])
->collapsed();
}
9 replies