Translate the modal
I want to translate the message 'Please fill out this field`
where can I find this translation in Textarea in Modal
I tried to find translations after publishing translations https://filamentphp.com/docs/3.x/panels/installation#publishing-translations, but I can not find matched value for this.
Solution:Jump to solution
```php
->extraInputAttributes([
'oninvalid' => 'this.setCustomValidity('Custom title')',
'oninput' => 'this.setCustomValidity('')',
])...
7 Replies
this is a validation message for html form.. Maybe this can help you
https://discord.com/channels/883083792112300104/1270286883389440020/1270302641561534516
Thanks, this is a very good tip 🙂
did it work?
not yet I tried
->extraAttributes(attributes: ['title' => 'Text input'])
but still tryingSolution
Now it work perfectly. Thank's a lot.
Is it possible to set a value from validation.php instead of putting a hardcoded string each time?
If I use
->rules(['required')
then I will get the value from validation.php file, but struggle to find a solution when validation is in HTML5