Fix missing TYPE on fucking INPUTS
This commit is contained in:
parent
a34201ffc2
commit
8d246aa381
2 changed files with 2 additions and 1 deletions
|
@ -438,6 +438,7 @@ class FormHandler {
|
|||
self.errorBox.innerHTML = self.dataset.error;
|
||||
self.label.setAttribute('for', self.id);
|
||||
self.input.id = self.id;
|
||||
self.input.type = self.getAttribute('type') || 'text';
|
||||
self.label.innerHTML = self.dataset.label;
|
||||
self.input.value = self.innerHTML.trim();
|
||||
self.innerHTML = '';
|
||||
|
|
2
public/theme/admin/js/scripts.min.js
vendored
2
public/theme/admin/js/scripts.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue