F
Filament2y ago
Zay

Styling Forms Placeholder

Hi, please advise on using the placeholder in forms. I am using the Placeholder component to display the amount, it works but as you can see from the pic, it looks weird. Is there a way to make this Placeholder component look like an TextInput ?
No description
2 Replies
Vp
Vp2y ago
Not sure placeholder to look like textinput, but you can use textinput with ->disabled() Oh, you can render HTML, create <input type="text"> and display like this https://filamentphp.com/docs/3.x/forms/layout/placeholder#rendering-html-inside-the-placeholder
Zay
ZayOP2y ago
Thanks, will look into rendering html

Did you find this page helpful?