Allow GlDateRangePicker to only provide one half of the dates
Currently, you can only trigger a submission event with GlDateRangePicker
if both the from
and to
dates have been defined.
In some situations, it is perfectly reasonable to say "I want to find all dates before x, after x or between x and y". A solution may be to use two single GlDatePicker
fields but then you lose the inbuilt styling and connectivity that GlDateRangePicker
provides
It would be great if we could change the GlDateRangePicker
to have an option to define if it is okay for users to select only one date or only start or only end. If we could still emit the @input
event in this case, then we can leave it up to the consumers to decide how they want to handle the data provided.