Exclude repeating group itens from a dropdown

Hello, I’m trying to figure out how to do something that should be really simple, but can’t reach the goal and can’t find help anywhere. Maybe someone could help me.

I’m trying to exclude from my dropdown, every item I already have in my repeating group.

This is the case I have. As you can see, I can exclude the first item, the last or a random one. But I can’t exclude every item. My dropdown should have just “Diesel S10” and “Diesel S500”.

And that’s how I’m doing.

I hope someone can help me!

:minus list can work or is not in instead of <> and remove first item

It doesn’t work, and I think it’s because they’re different types.

image

image

Sorry, you need to select the name at the end. This will create a list of name from the repeating group items
(RepeatingGroup Fuel’s list of Fuels’s name)

1 Like

Worked like this

image

Thanks for the help. I missed the “isn’t in” while I was trying to use <>;

1 Like

Maybe you could help me with one mone thing. Do I always have to select an item, even when I have first item as a placeholder?

Because if I don’t select any, and just put the price and click at the button, It doens’t get the data.

image

It’s better to use placeholder to show a text like : Select fuel. Placeholder doesn’t replace the default value. This will show only if the user doesn’t select anything in the dropdown.

1 Like

Great. Thanks.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.