How to use Unique Key in repeat children?

Could someone explain to me how to use Unique Key in Repeat Children to make every repeated line unique? Thank you

Hi,
What do you mean exactly?

I want change value input box in repeat region when I select record in modal box

please visit: https://erp.decoresin.com

user: test
pass: test

click first on NUOVO DOCUMENTO:

click second on search button

I want populate input box in row

I am not sure I understand you. Do you want to use dynamic value in a text input?

Yes, but I want to take the values from the table that opens in the search box modal

Use the dynamic events, on click of the row setvalue of the input and use the dynamic value from your row.

can you show me how to do it with a screenshot? I’ve already done something similar but it does not work

Which part is not clear for you?
Just select the row, add dynamic event on click and find the input in the data picker - there you will see set value.

add dynamic event in Modal serach box ?

it does not work

Are you sure there is such a binding/data available actually - “codice_articolo”?

yes, I take this value to table row in modal nox

if I write in input text “codice” and “descrizione” it works great. It saves record in database correctly.
if I want select value from modal box it doesn’t work
the problem is id or name input box in repeat region
action server don’t copy values

Sorry but your page code is wrong currently.
I see this:

<tr dmx-on:click="serverconnectform1.codice_articolo.setValue(c);selezione_articolo.hide()">

What is the “c” used there?

ok, it was a mistake after all the tests I did. Now I have corrected but it does not work

<tr dmx-on:click="serverconnectform1.codice_articolo.setValue(codice_prodotto);selezione_articolo.hide()">

I see your input is inside a repeat region, maybe the expression is wrong. I will check this and will let you know when i find what’s wrong.

That’s right, you understand what happens.

Hi Teodor, do you have news for me. I want to complete my application. Thank you

Sorry, the way you currently do this and call your modal this is not possible.
The modal does not “know” which element from the repeat region called it, so it cannot assign the value there.

ok, do you think there is a way to populate text inputs dynamically on the page?

can you explain to me what the Unique Key value is worth? Thank you

image