Hi all, @seanhoots
I have two Air Date/Time Picker elements set to only show time (don’t need date).
The first is called ‘Opening Hour’ the second is ‘Closing Hour’. I’m trying to prevent the ‘Closing Hour’ from being accidentally set to an earlier time to ‘Opening Hour’ using a Condition to flag up the error as below:
However, this is not working and the condition doesn’t seem to trigger. I’ve also tried using a State to set the Closing Hour as invalid (state) when its input is changed to an earlier time than the Opening Hour but it also will not work.
For example setting the first line below with an Opening Hour of 7pm, so the Closing Hour input should have a red border if I set it earlier than 7pm. However I’m able to set it to 6pm without the condition triggering.
Any ideas?
Thanks in advance,
Reece