gd-bs 5.5.9 → 5.6.2
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/build/bs.js +1 -1
- package/build/components/inputGroup/index.js +2 -4
- package/dist/gd-bs-icons.js +2 -2
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.js +2 -2
- package/dist/gd-bs.min.js +1 -1
- package/index.html +13 -8
- package/package.json +1 -1
- package/src/bs.scss +17 -0
- package/src/components/inputGroup/index.ts +2 -4
|
@@ -202,8 +202,7 @@ var _InputGroup = /** @class */ (function (_super) {
|
|
|
202
202
|
// Update the textbox
|
|
203
203
|
this.props.id ? textarea.id = this.props.id : null;
|
|
204
204
|
this.props.placeholder ? textarea.placeholder = this.props.placeholder : null;
|
|
205
|
-
textarea.
|
|
206
|
-
textarea.readOnly = textarea.disabled;
|
|
205
|
+
textarea.disable = this.props.isReadonly ? true : false;
|
|
207
206
|
textarea.rows = this.props.rows;
|
|
208
207
|
this.props.title ? textarea.title = this.props.title : null;
|
|
209
208
|
}
|
|
@@ -216,8 +215,7 @@ var _InputGroup = /** @class */ (function (_super) {
|
|
|
216
215
|
// Update the textbox
|
|
217
216
|
this.props.id ? input.id = this.props.id : null;
|
|
218
217
|
this.props.placeholder ? input.placeholder = this.props.placeholder : null;
|
|
219
|
-
input.
|
|
220
|
-
input.readOnly = input.disabled;
|
|
218
|
+
input.disable = this.props.isReadonly ? true : false;
|
|
221
219
|
this.props.title ? input.title = this.props.title : null;
|
|
222
220
|
typeof (this.props.min) === "number" ? input.min = this.props.min + "" : null;
|
|
223
221
|
typeof (this.props.max) === "number" ? input.max = this.props.max + "" : null;
|