rememberUpdatedState: reference a value in an effect that shouldn't restart if the value changes
. The problem is that it's not re-composing when
validDates
changes which changes
dateValidator
.
m
mkrussel
07/07/2023, 3:46 PM
I haven't played with DatePicker, but this is a common problem, I've had with lambdas and captured values, so I don't know if it will fix your problem or not.