Hello,
I am stuck with a development where I need to assign "id" for a control based on incoming data of a service.
For eg., if I have a RadioButton and I set the value for id as shows below:
new sap.ui.commons.RadioButton({id: resData});
where resData is some unique variable filled by result of an incoming service to the ui5 page and lets say that it will basically have numbers.
When such code is executed, I am getting error in the first iteration of incoming data like
"1" is not a valid id
in the case resData starts with 1. So, I got a doubt if I am creating a control with dynamic id in the right way or not.
Any suggestions pls?
regards,
Srivatsava J