Hi.
I have a pages query in a SA, and the SC on page has binding for offset
from query manager and limit
from a select/dropdown on the page.
Since the SC is auto-loaded, when the page opens, it gets called with limit as empty. And within a few ms, it gets called again, cancelling the first request - with a limit value from the select.
This select has static binding of 25,50,75,100 values and 50 is selected by default.
I have tried using selectLimit.value.default(50)
in the SC binding as well, but that does not work.
I also tried setting a page flow, keeping the SC on no-autoload and load it from the flow, but it still sends blank value for limit.
If I add a wait of say 100ms inside the flow, it start working - but that is just a random wait time working in this instance and might easily fail in the future.
Any ideas on how to set this up so that default value can be passed to SC without needing a second call?
Last updated: