dibk-design 1.0.13 → 1.0.14
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.
|
@@ -105,6 +105,7 @@ var InputField = /*#__PURE__*/function (_React$Component) {
|
|
|
105
105
|
readOnly: this.props.readOnly,
|
|
106
106
|
disabled: this.props.disabled,
|
|
107
107
|
type: this.props.type,
|
|
108
|
+
role: this.props.role,
|
|
108
109
|
id: this.props.id,
|
|
109
110
|
key: defaultKey || "".concat(this.props.id, "-").concat((0, _generators.generateRandomString)(6)),
|
|
110
111
|
min: this.props.min || null,
|
|
@@ -148,7 +148,7 @@ var Select = /*#__PURE__*/function (_React$Component) {
|
|
|
148
148
|
var props = (_props = {
|
|
149
149
|
name: this.props.name,
|
|
150
150
|
multiple: this.props.multiple
|
|
151
|
-
}, _defineProperty(_props, defaultValue ? 'defaultValue' : 'value', defaultValue || this.props.value), _defineProperty(_props, "onChange", this.props.onChange), _defineProperty(_props, "id", this.props.id), _defineProperty(_props, "key", "".concat(this.props.id, "-").concat((0, _generators.generateRandomString)(6))), _defineProperty(_props, "className", this.props.hasErrors ? _SelectModule.default.hasErrors : ''), _defineProperty(_props, "style", styleRules), _props);
|
|
151
|
+
}, _defineProperty(_props, defaultValue ? 'defaultValue' : 'value', defaultValue || this.props.value), _defineProperty(_props, "onChange", this.props.onChange), _defineProperty(_props, "id", this.props.id), _defineProperty(_props, "role", this.props.role), _defineProperty(_props, "key", "".concat(this.props.id, "-").concat((0, _generators.generateRandomString)(6))), _defineProperty(_props, "className", this.props.hasErrors ? _SelectModule.default.hasErrors : ''), _defineProperty(_props, "style", styleRules), _props);
|
|
152
152
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
153
153
|
className: _SelectModule.default.select
|
|
154
154
|
}, /*#__PURE__*/_react.default.createElement(_Label.default, {
|