How to filter data

Off topic: This meeting will show you the capabilities that Wappler offers.

Wappler MeetUp – "The Art of the Possible” - Wappler General / Announcements - Wappler Community

Starts in about 11 hours’ time.

1 Like

Hey @Valtenci,

This is a form repeat…
You need a serverconnect that read and lists the products (autocomplete).
Then a Data Detail to hold the selected product details and update the rest fields
And a DataStore to hold the values without conflictions
Check the Image and if you need help “ring the bell”

**On autocomplete’s change event you pass the selected product-id into the Data-Detail and so all the other inputs get their data.
(product-price.value- data-detailProduct.price , product-unit.value- data-detailProduct.unit etc…)

1 Like

I think I didn’t explain it correctly, where it’s marked in orange, it’s a table, as I add the product data above, it shows the table below.

I’ve seen that somewhere I think but I have to check how it is implemented…
And really don’t have time to learn something new when I can do it this way and it is certified as working solution
But it will look the same if you use formRepeat -> Row -> columns just like Tedor’s tutorials above

in this case I would put a table to receive and show the correct data?

In which case my friend?
In a few words, I work on my case this way:

  • formRepeat
  • a button (beside thed elete-trash button) to save each product-line to the DataStore (no add-new-line button if not saved)
  • formrepeat source=DataStore (items)

I think I understand, I’ll do some more tests.

Thank you for the tip :handshake:

1 Like

This explains how it works for order-insert
And when you update the order you first load the order-details and pass them to the DataStore so your formRepeat has the data loaded

okay, understood