© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•17mo ago•
1 reply
yossizahn

Pass Htmlable to TextInput suffix

Hi,
I am trying to understand why passing
Htmlable
Htmlable
to
TextInput->label()
TextInput->label()
will render the HTML, whereas passing
Htmlable
Htmlable
to
TextInput>suffix()
TextInput>suffix()
will show the HTML source code.
Where in the source code is this implemented?
Is the type hinting of
suffix
suffix
incorrect for hinting it as accepting
Htmlable
Htmlable
?
(I found that elements which use
CanFormatState
CanFormatState
will render the
Htmlable
Htmlable
in the call to
formatState
formatState
. But form components don't seem to be using
CanFormatState
CanFormatState
)
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Textinput suffix icon color
FilamentFFilament / ❓┊help
3y ago
Custom TextInput with suffix actions
FilamentFFilament / ❓┊help
2y ago
Live update a suffix icon on TextInput
FilamentFFilament / ❓┊help
2y ago
Htmlable Filter
FilamentFFilament / ❓┊help
2y ago