@luftborn/custom-elements 2.8.10 → 2.8.11

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.
package/demo/index.min.js CHANGED
@@ -2308,7 +2308,7 @@ var CustomForm = /** @class */ (function () {
2308
2308
  var customElement = document.forms[0].querySelector("[name=\"" + dependentField + "\"]");
2309
2309
  element.setAttribute("hidden", "");
2310
2310
  customElement.onChange.on(function (event) {
2311
- if (event.value === dependentValue) {
2311
+ if (event.value === dependentValue || event.value.indexOf(dependentValue) >= 0) {
2312
2312
  _this.showGroupAndItsDependencies(element);
2313
2313
  }
2314
2314
  else {