Select/Dropdown referencing in a repeated container

1
0
-1

I have a repeated container based on the contract input.
Inside the container has 3 dropdown/select objects.
I created 3 variables, type : business data.
The problem is the filter the query value should come from the value of the other select/dropdown field (e.g. $item.region_id)
I tried something like this => {{formInput.OfficeRegion[$item.region_id]}} but it doesn't work.

How can i apply this in the repeated container?

Comments

Submitted by Dibyajit.Roy on Tue, 05/09/2023 - 18:55

You need to create a Widget for this.
When there is a dropdown dependent on another dropdown, then the container must be saved as a Widget.
The logic will work only inside a Widget. Then put the widget as repeating container.

This feature is available only in subscription i believe , not in community.

Regards

Submitted by chris_dev on Wed, 05/10/2023 - 07:42

Thanks for your response @Dibyajit.Roy.
Additional question, is it possible to get the current index position if i set/position my cursor in the field object within the repeated container?

Submitted by Dibyajit.Roy on Wed, 05/10/2023 - 11:08

use $index for the array position.

No answers yet.
Notifications