@magic-xpa/angular 4.1300.0-dev4130.201 → 4.1300.0-dev4130.203
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.
|
@@ -2996,12 +2996,13 @@ class TaskMagicService {
|
|
|
2996
2996
|
}
|
|
2997
2997
|
/**
|
|
2998
2998
|
* Handle the Radio button "change" event
|
|
2999
|
-
* @param event The event received from the UI
|
|
3000
2999
|
* @param idx Id of the control raising the event
|
|
3000
|
+
* @param rowId Id of the row containing the control (defaults to '0' for non-table controls)
|
|
3001
3001
|
*/
|
|
3002
|
-
mgOnRadioSelectionChanged(idx) {
|
|
3003
|
-
|
|
3004
|
-
let
|
|
3002
|
+
mgOnRadioSelectionChanged(idx, rowId = '0') {
|
|
3003
|
+
// Fetch the Form Control for the specific table row (or row '0' for non-table child controls)
|
|
3004
|
+
let result = this.getFormControl(rowId, idx);
|
|
3005
|
+
let guiEvent = getGuiEventObj('selectionchanged', idx, +rowId);
|
|
3005
3006
|
if (typeof result.value !== 'number')
|
|
3006
3007
|
guiEvent.Value = result.value.index;
|
|
3007
3008
|
else
|