Hey everyone,
I have a single select filter that operates on a column with timestamps (formatted as strings) and I would like to have the most recent date selected by default.
Using selectFirstByDefault
results in exactly the opposite: the oldest value (which happens to be on top of the source table) gets selected by default. I tried to sort the source table via sql with order by desc
in the source options of the element definition as well as the data options of the datasource defintion, but the sorting seems to get overidden somewhere. When checking with dialog editor sorting works as intended.
Is there a way to apply sorting or an option that controls how selectFirstByDefault
behaves exactly?
thanks in advance!