@magic-xpa/gui 4.900.0-dev490.146 → 4.900.0-dev490.148

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.
@@ -1599,7 +1599,7 @@ class Manager {
1599
1599
  }
1600
1600
  static SetReadOnlyControl(ctrl, isReadOnly) {
1601
1601
  return __awaiter(this, void 0, void 0, function* () {
1602
- if (ctrl.isTextControl() || ctrl.IsRepeatable || ctrl.isComboBox() || ctrl.isListBox() || ctrl.isCheckBox()) {
1602
+ if (ctrl.isTextControl() || ctrl.IsRepeatable || ctrl.isComboBox() || ctrl.isListBox() || ctrl.isCheckBox() || ctrl.isRadio()) {
1603
1603
  if (UtilStrByteMode.isLocaleDefLangDBCS()) {
1604
1604
  if (yield ctrl.getForm().getTask().checkProp(PropInterface.PROP_TYPE_ALLOW_LOCATE_IN_QUERY, false))
1605
1605
  return;
@@ -9839,7 +9839,7 @@ class Property {
9839
9839
  return __awaiter(this, void 0, void 0, function* () {
9840
9840
  if (this._parentType === GuiConstants.PARENT_TYPE_CONTROL) {
9841
9841
  let ctrl = this._parentObj;
9842
- if (ctrl.isTextControl()) {
9842
+ if (ctrl.isTextControl() || ctrl.isChoiceControl() || ctrl.isCheckBox()) {
9843
9843
  let task = this.GetTaskByParentObject();
9844
9844
  let readOnlyValue = !this.GetComputedValueBoolean();
9845
9845
  if ((readOnlyValue || task.getMode() !== Constants.TASK_MODE_QUERY) && ctrl.GetCurrReadOnly() !== readOnlyValue) {