F
Filament2y 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(\'\')'
])
->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
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server