Merge branch 'main' of https://github.com/JannexNet/SHX-Theme
commit
ed40286bd9
|
@ -128,6 +128,15 @@
|
|||
opacity: 0.35;
|
||||
}
|
||||
|
||||
.invisibleInput {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
@ -534,10 +543,10 @@
|
|||
|
||||
this.requiredPlaceholder = document.createElement('input');
|
||||
this.requiredPlaceholder.type = 'text';
|
||||
this.requiredPlaceholder.style.display = 'none';
|
||||
this.requiredPlaceholder.required = true;
|
||||
this.requiredPlaceholder.classList.add('invisibleInput');
|
||||
this.requiredPlaceholder.setAttribute('form', 'product-form-' + this.section_id);
|
||||
this.requiredPlaceholder.name = 'properties[Text]';
|
||||
this.requiredPlaceholder.required = true;
|
||||
this.requiredPlaceholder.value = '';
|
||||
|
||||
this.Viewer3DContainer.appendChild(this.requiredPlaceholder);
|
||||
|
|
Loading…
Reference in New Issue