mirror of
https://github.com/filamentphp/filament.git
synced 2026-10-24 23:35:30 +08:00
Update 03-select.md
This commit is contained in:
@@ -367,6 +367,8 @@ MorphToSelect::make('commentable')
|
||||
])
|
||||
```
|
||||
|
||||
> Many of the same options in the select field are available for `MorphToSelect`, including `searchable()`, `preload()`, `native()`, `allowHtml()`, and `optionsLimit()`.
|
||||
|
||||
## Allowing HTML in the option labels
|
||||
|
||||
By default, Filament will escape any HTML in the option labels. If you'd like to allow HTML, you can use the `allowHtml()` method:
|
||||
|
||||
Reference in New Issue
Block a user