@linzjs/lui 17.43.2 → 17.43.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [17.43.3](https://github.com/linz/lui/compare/v17.43.2...v17.43.3) (2023-03-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **LuiSelectInput:** add id to control ([#887](https://github.com/linz/lui/issues/887)) ([d07e3b0](https://github.com/linz/lui/commit/d07e3b069add3a9a1615d3754755e6b4e6891a23))
7
+
1
8
  ## [17.43.2](https://github.com/linz/lui/compare/v17.43.1...v17.43.2) (2023-03-21)
2
9
 
3
10
 
package/dist/index.js CHANGED
@@ -15804,7 +15804,7 @@ var LuiSelectInput = function (props) {
15804
15804
  props.mandatory && React__default["default"].createElement("span", { className: "LuiSelect-mandatory" }, "*"),
15805
15805
  React__default["default"].createElement("span", { className: clsx$1('LuiSelect-label-text', props.hideLabel ? 'LuiScreenReadersOnly' : '') }, props.label),
15806
15806
  React__default["default"].createElement("div", { className: "LuiSelect-wrapper" },
15807
- React__default["default"].createElement("select", __assign$3({ name: id, onChange: props.onChange, value: props.value, className: "LuiSelect-select" }, props.selectProps),
15807
+ React__default["default"].createElement("select", __assign$3({ name: id, id: id, onChange: props.onChange, value: props.value, className: "LuiSelect-select" }, props.selectProps),
15808
15808
  props.placeholderText && (React__default["default"].createElement("option", { value: "", disabled: true }, props.placeholderText)),
15809
15809
  props.options.map(function (selection) { return (React__default["default"].createElement("option", { key: selection.value, value: selection.value }, selection.label)); })),
15810
15810
  React__default["default"].createElement(LuiIcon, { alt: 'Error', name: "ic_keyboard_arrow_down", className: "LuiSelect-chevron-icon", size: "md" })),