Built a table with a date range, but when date range is empty nothing will display.
I attempted to set the start/end values using {{moment().format("01/01/2018")}}
and {{moment().format("01/01/2020")}}
as my start and end date which displays the proper date in the date range, and still nothing appears in the table.
When I manually set it, it works fine.
Two questions:
- What do I need to do to set the start value so it works?
- Is there a way so if the date range isn't set (null) it will just ignore it?
Thanks