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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "5.6.1",
3
+ "version": "5.6.2",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -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.readOnly = this._parent.isReadonly || this._props.isDisabled ? true : false;
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.readOnly = this.props.isReadonly ? true : false;
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.readOnly = this.props.isReadonly ? true : false;
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;