shx-3d-render
parent
b1f6ab1703
commit
ef114353a8
|
@ -306,9 +306,6 @@
|
|||
<label class="form__label custom shx-ifc-form_label" for="${inputID}-label">${labelText}</label>
|
||||
<div class="field custom">
|
||||
<input class="field__input" form="product-form-${section_id}" type="text" id="${inputID}" name="properties[${inputName}]" value="${inputVal}" oninput="document.querySelector('shx-input-forms').renderView()" required maxlength="20">
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", ()=>{document.querySelector("form[novalidate]").removeAttribute("novalidate")})
|
||||
</script>
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
@ -419,6 +416,8 @@
|
|||
}
|
||||
};
|
||||
|
||||
document.addEventListener("DOMContentLoaded", ()=>{document.querySelector("form[novalidate]").removeAttribute("novalidate")});
|
||||
|
||||
// create new html tag called "shx-input-forms"
|
||||
class InputFormsElement extends HTMLElement {
|
||||
constructor() {
|
||||
|
|
Loading…
Reference in New Issue