FilamentF
Filament3y ago
Vp

extraInputAttributes not working in textarea

I'm not sure whether this is design for textinput only or not, however the below code is working in Textinput but not in textarea
->extraInputAttributes([
    'oninvalid' => 'this.setCustomValidity(\'' . __('message.require') . '\')',
    'oninput' => 'this.setCustomValidity(\'\')'
])

Is there any other api for textarea?

My main aim is to change HTML require message in app language
Was this page helpful?