#Some items from Repeater not saving

4 messages · Page 1 of 1 (latest)

gentle cosmos
#

I have Repeater with some nested Select but something really weird is happening.

These nested Selects are “rules” for validating coupons. Some save perfectly but others always save the “value” field null and after I reload the page and save again they save the value normally.

The category_specific and product_specific fields are only saved after the 2nd time.

narrow spireBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

gentle cosmos
#

Some items from Repeater not saving

clear moss
#

Is it maybe related to the value field not being present on first save? Just guessing, hard to tell. Your code looks good.
I'd recommend using debugger to see what's sent to the backend and what's saved