@biggive/components 202411061640.0.0 → 202411071423.0.0

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.
@@ -619,6 +619,9 @@ const BiggiveFormFieldSelect = class {
619
619
  (this.selectedOptionColour === 'inherit' ? ' inherit-colour' : '') }, index.h("div", { key: '63beb631b161db5ffe16158430af3d1eede56130', class: "sleeve" }, index.h("select", { key: '153a730cbf15eb1571c44e855dccc040b3a5f2a3', class: greyIfRequired, onChange: this.doOptionSelectCompletedHandler }, options.map(option => (index.h("option", { selected: this.selectedValue === option.value, value: option.value }, option.label)))), index.h("div", { key: '238e74f29d312129f831f5a4cf1598ce3024f145', class: "arrow" }))))));
620
620
  }
621
621
  formatOptions(options) {
622
+ if (options === undefined) {
623
+ return [];
624
+ }
622
625
  if (typeof options === 'string') {
623
626
  options = JSON.parse(options);
624
627
  }