Date Input empty value should return null instead of empty string

The Date Input's empty value should return null instead of an empty string. This change would allow us to use functions on dateInput.value that require a date or null. A common use case is writing a date into Retool (or any other SQL database). Currently, I use the workaround {{ dateInput1.value === '' ? null : dateInput1.value }} each time this is needed."

9 Likes

Hey @TobiasOhlsson! Thanks for the suggestion. You've already garnered a fair bit of community support, if the emoji reactions are any indication.

I just put this into our ticket queue and, unless there's some side effect that I'm not thinking of, it should make a good first ticket for somebody! I'll keep you updated here as soon as possible. :+1: