A date range picked with a DatePicker in mode="range". to is null while only the start is picked.
mode="range"
to
null
First day of the range.
Last day of the range, or null until the second day is picked.
A date range picked with a DatePicker in
mode="range".toisnullwhile only the start is picked.