Skip to content

Commit c60a070

Browse files
tabacitupromatik
andauthored
Update src/resources/views/crud/inc/form_fields_script.blade.php
Co-authored-by: António Almeida <[email protected]>
1 parent 866bc23 commit c60a070

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/resources/views/crud/inc/form_fields_script.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class CrudField {
6666
return this;
6767
}
6868
69-
if(['text', 'textarea'].includes(this.input.getAttribute('type'))) {
69+
if(['INPUT', 'TEXTAREA'].includes(this.input.nodeName)) {
7070
this.input?.addEventListener('input', fieldChanged, false);
7171
}
7272
this.$input.change(fieldChanged);

0 commit comments

Comments
 (0)