Delete hover text
Hello dears,
How can I delete the text when I hover on field form in filament?
Your kind support is highly appreciate.
11 Replies
This comes from
->required()
as it will add required attribute to your html tag.Well, so how can I disable or customize them?
It's provided by the browser
You can set the 'title' on the attribute to change it
@toeknee Thank you, please can you give me an example how to set the title?
I don't think the title affects the browser validation
As Andi pointed out, this is comes from
->required()
because we use HTML attributes for browser validation. In this case you can apply ->rules(['required'])
to only apple the rule without the HTML required
attribute.or this if you want to customize this title
Thanks to all, now I still have 2 validations like image below, So I want only the error message in red without the box. Is this possible in filament?
The box is added by your browser....
But if you add novalidate to the form it would resolve it. So actually as a hacky method try within the builder per field:
or on the ->form its self:
Solution
As Dennis said, ->rules([‘required’]) instead of ->required()
Thank you all, it works now 😃