solid-ui 3.0.4-e2611ae → 3.0.4-f1ffeff

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4586,13 +4586,11 @@ _forms_fieldFunction__WEBPACK_IMPORTED_MODULE_4__/* .field */ .ZZ[_ns__WEBPACK_I
4586
4586
  selectBox.setAttribute('class', 'formFieldValue classifierBox-selectBox');
4587
4587
  var selectElement = makeSelectForNestedCategory(dom, kb, subject, category, dataDoc, checkOptions);
4588
4588
  // Set readonly if not editable
4589
- if (selectElement && selectElement.querySelectorAll) {
4590
- var selects = selectElement.querySelectorAll('select');
4591
- if (selects.length && !kb.updater.editable(dataDoc.uri)) {
4592
- selects.forEach(function (select) {
4593
- select.readOnly = true;
4594
- select.style = _style__WEBPACK_IMPORTED_MODULE_10__/* .style */ .i.textInputStyleUneditable;
4595
- });
4589
+ if (selectElement && selectElement.querySelector && selectElement.querySelector('select')) {
4590
+ var select = selectElement.querySelector('select');
4591
+ if (select && !kb.updater.editable(dataDoc.uri)) {
4592
+ select.readOnly = true;
4593
+ select.style = _style__WEBPACK_IMPORTED_MODULE_10__/* .style */ .i.textInputStyleUneditable;
4596
4594
  }
4597
4595
  }
4598
4596
  selectBox.appendChild(selectElement);