gd-bs 5.6.1 → 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/components/checkboxGroup/item.js +1 -1
- package/build/components/inputGroup/index.js +2 -2
- 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/package.json +1 -1
- package/src/components/checkboxGroup/item.ts +1 -1
- package/src/components/inputGroup/index.ts +2 -2
package/package.json
CHANGED
|
@@ -35,7 +35,7 @@ export class CheckboxItem {
|
|
|
35
35
|
// Set the attributes
|
|
36
36
|
this._elCheckbox = this._el.querySelector("input");
|
|
37
37
|
if (this._elCheckbox) {
|
|
38
|
-
this._elCheckbox.
|
|
38
|
+
this._elCheckbox.disabled = this._parent.isReadonly || this._props.isDisabled ? true : false;
|
|
39
39
|
|
|
40
40
|
// Default the title property for the checkbox
|
|
41
41
|
this._elCheckbox.title = this.props.label || this._parent.title || "";
|
|
@@ -205,7 +205,7 @@ class _InputGroup extends Base<IInputGroupProps> implements IInputGroup {
|
|
|
205
205
|
// Update the textbox
|
|
206
206
|
this.props.id ? textarea.id = this.props.id : null;
|
|
207
207
|
this.props.placeholder ? textarea.placeholder = this.props.placeholder : null;
|
|
208
|
-
textarea.
|
|
208
|
+
textarea.disable = this.props.isReadonly ? true : false;
|
|
209
209
|
textarea.rows = this.props.rows;
|
|
210
210
|
this.props.title ? textarea.title = this.props.title : null;
|
|
211
211
|
}
|
|
@@ -218,7 +218,7 @@ class _InputGroup extends Base<IInputGroupProps> implements IInputGroup {
|
|
|
218
218
|
// Update the textbox
|
|
219
219
|
this.props.id ? input.id = this.props.id : null;
|
|
220
220
|
this.props.placeholder ? input.placeholder = this.props.placeholder : null;
|
|
221
|
-
input.
|
|
221
|
+
input.disable = this.props.isReadonly ? true : false;
|
|
222
222
|
this.props.title ? input.title = this.props.title : null;
|
|
223
223
|
typeof (this.props.min) === "number" ? input.min = this.props.min + "" : null;
|
|
224
224
|
typeof (this.props.max) === "number" ? input.max = this.props.max + "" : null;
|