Update 03-select.md

This commit is contained in:
Dan Harrin
2024-02-10 10:21:40 +00:00
committed by GitHub
parent 6f63e5f6af
commit 57662ac65d
@@ -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: