@hyphen/hyphen-components 2.16.2 → 2.16.3

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.
@@ -2300,14 +2300,15 @@ function SelectInput(props) {
2300
2300
  }));
2301
2301
  };
2302
2302
  var Component = isCreatable && isAsync ? AsyncCreatableSelect : isCreatable ? CreatableSelect : isAsync ? AsyncSelect : Select;
2303
- return React.createElement(Box, {
2304
- width: "100%",
2305
- className: wrapperClasses
2306
- }, label && !hideLabel && React.createElement(FormLabel, _extends({}, labelProps), label), React.createElement(Component, _extends({}, restProps, isAsync ? {
2303
+ var selectOptions = isAsync ? {
2307
2304
  loadOptions: options
2308
2305
  } : {
2309
2306
  options: options
2310
- }, {
2307
+ };
2308
+ return React.createElement(Box, {
2309
+ width: "100%",
2310
+ className: wrapperClasses
2311
+ }, label && !hideLabel && React.createElement(FormLabel, _extends({}, labelProps), label), React.createElement(Component, _extends({}, restProps, selectOptions, {
2311
2312
  inputId: id,
2312
2313
  "aria-label": label,
2313
2314
  components: {