I have this cloned text field, where I have wrote “Hjjvc” and I like to get the same text in the button. But it is always undefined. No matter what and how I do.
That should work. Does it make any difference if you set the value to a label’s text instead of a button? There’s another way to do this which requires finding the component within the list of all text input blocks but it’s more complicated than what you have in the screenshot so it’s probably not going to help in this case.
I’m able to clone the rows and get the component IDs from the cloned TextInputs, but for some reason I can’t edit the text in any of the cloned Text Inputs.
Thanks a lot. I dont have problems o get the component ID but I ant get the text from that text Component ID into a variable og button text as well. Hope that is also what you mean?
Looking forward to hear from you…
If you take a look at the MWE I attached you’ll see that I haven’t even gotten that far yet. I can’t get the text from the cloned Text Inputs because I can’t edit the text there in the first place!
I’m coordinating with Jane about this at the moment - will keep you posted as I figure out more.