gd-bs 6.6.56 → 6.6.57
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
|
@@ -156,7 +156,7 @@ export class FormControl implements IFormControl {
|
|
|
156
156
|
formFl: true,
|
|
157
157
|
id: this._props.id,
|
|
158
158
|
isDatalist: true,
|
|
159
|
-
isReadonly: this._props.isReadonly,
|
|
159
|
+
isReadonly: this._props.isReadonly || this._props.isDisabled,
|
|
160
160
|
items: (this._props as IFormControlPropsDropdown).items,
|
|
161
161
|
onChange: (this._props as IFormControlPropsDropdown).onChange,
|
|
162
162
|
required: this._props.required,
|
|
@@ -171,7 +171,7 @@ export class FormControl implements IFormControl {
|
|
|
171
171
|
className,
|
|
172
172
|
formFl: true,
|
|
173
173
|
id: this._props.id,
|
|
174
|
-
isReadonly: this._props.isReadonly,
|
|
174
|
+
isReadonly: this._props.isReadonly || this._props.isDisabled,
|
|
175
175
|
items: (this._props as IFormControlPropsDropdown).items,
|
|
176
176
|
onChange: (this._props as IFormControlPropsDropdown).onChange,
|
|
177
177
|
onMenuRendering: (this._props as IFormControlPropsDropdown).onMenuRendering,
|
|
@@ -187,7 +187,7 @@ export class FormControl implements IFormControl {
|
|
|
187
187
|
className,
|
|
188
188
|
formFl: false,
|
|
189
189
|
id: this._props.id,
|
|
190
|
-
isReadonly: this._props.isReadonly,
|
|
190
|
+
isReadonly: this._props.isReadonly || this._props.isDisabled,
|
|
191
191
|
items: (this._props as IFormControlPropsDropdownButton).items,
|
|
192
192
|
label: (this.props as IFormControlPropsDropdownButton).placeholder,
|
|
193
193
|
onChange: (this._props as IFormControlPropsDropdownButton).onChange,
|
|
@@ -206,7 +206,7 @@ export class FormControl implements IFormControl {
|
|
|
206
206
|
formFl: false,
|
|
207
207
|
id: this._props.id,
|
|
208
208
|
isCheckbox: true,
|
|
209
|
-
isReadonly: this._props.isReadonly,
|
|
209
|
+
isReadonly: this._props.isReadonly || this._props.isDisabled,
|
|
210
210
|
items: (this._props as IFormControlPropsDropdownCheckbox).items,
|
|
211
211
|
label: (this.props as IFormControlPropsDropdownCheckbox).placeholder,
|
|
212
212
|
onChange: (this._props as IFormControlPropsDropdownCheckbox).onChange,
|
|
@@ -258,7 +258,7 @@ export class FormControl implements IFormControl {
|
|
|
258
258
|
// Add the list box
|
|
259
259
|
this._lb = ListBox({
|
|
260
260
|
id: this._props.name,
|
|
261
|
-
isReadonly: this._props.isReadonly,
|
|
261
|
+
isReadonly: this._props.isReadonly || this._props.isDisabled,
|
|
262
262
|
items: (this._props as IFormControlPropsListBox).items,
|
|
263
263
|
onChange: (this._props as IFormControlPropsListBox).onChange,
|
|
264
264
|
placeholder: (this._props as IFormControlPropsListBox).placeholder,
|
|
@@ -294,7 +294,7 @@ export class FormControl implements IFormControl {
|
|
|
294
294
|
className,
|
|
295
295
|
formFl: true,
|
|
296
296
|
id: this._props.id,
|
|
297
|
-
isReadonly: this._props.isReadonly,
|
|
297
|
+
isReadonly: this._props.isReadonly || this._props.isDisabled,
|
|
298
298
|
items: (this._props as IFormControlPropsMultiDropdown).items,
|
|
299
299
|
multi: true,
|
|
300
300
|
onChange: (this._props as IFormControlPropsMultiDropdown).onChange,
|
|
@@ -311,7 +311,7 @@ export class FormControl implements IFormControl {
|
|
|
311
311
|
className,
|
|
312
312
|
formFl: false,
|
|
313
313
|
id: this._props.id,
|
|
314
|
-
isReadonly: this._props.isReadonly,
|
|
314
|
+
isReadonly: this._props.isReadonly || this._props.isDisabled,
|
|
315
315
|
items: (this._props as IFormControlPropsMultiDropdownButton).items,
|
|
316
316
|
label: (this._props as IFormControlPropsMultiDropdownButton).placeholder,
|
|
317
317
|
multi: true,
|
|
@@ -331,7 +331,7 @@ export class FormControl implements IFormControl {
|
|
|
331
331
|
formFl: false,
|
|
332
332
|
id: this._props.id,
|
|
333
333
|
isCheckbox: true,
|
|
334
|
-
isReadonly: this._props.isReadonly,
|
|
334
|
+
isReadonly: this._props.isReadonly || this._props.isDisabled,
|
|
335
335
|
items: (this._props as IFormControlPropsMultiDropdownCheckbox).items,
|
|
336
336
|
label: (this._props as IFormControlPropsMultiDropdownCheckbox).placeholder,
|
|
337
337
|
multi: true,
|
|
@@ -348,7 +348,7 @@ export class FormControl implements IFormControl {
|
|
|
348
348
|
// Add the list box
|
|
349
349
|
this._lb = ListBox({
|
|
350
350
|
id: this._props.name,
|
|
351
|
-
isReadonly: this._props.isReadonly,
|
|
351
|
+
isReadonly: this._props.isReadonly || this._props.isDisabled,
|
|
352
352
|
items: (this._props as IFormControlPropsMultiListBox).items,
|
|
353
353
|
multi: true,
|
|
354
354
|
onChange: (this._props as IFormControlPropsMultiListBox).onChange,
|
|
@@ -454,6 +454,7 @@ export class FormControl implements IFormControl {
|
|
|
454
454
|
appendedLabel: (this.props as IFormControlPropsTextField).appendedLabel,
|
|
455
455
|
className,
|
|
456
456
|
id: this._props.id,
|
|
457
|
+
isDisabled: this._props.isDisabled,
|
|
457
458
|
isReadonly: true,
|
|
458
459
|
onChange: (this._props as IFormControlPropsTextField).onChange,
|
|
459
460
|
placeholder: (this._props as IFormControlPropsTextField).placeholder,
|