Hi everyone,
I am trying to tinker around with the expense tracker (from the Full-stack Dev course, Connecting Front-End to Back-End/How to Structure your Apps/MVC Architecture for Full-Stack App Article) just for practice. My idea is to make it possible to filter for a timespan between two dates instead of one date alone.
I have found there is a Date Range Picker on MUI which is super easy to implement, however you have to pay for it.
So I tried working around it by using two Date Picker blocks, assigning them the values “selectDate” and “selectDate1” respectively.
Obviously it doesn’t work as then I am parsing the values individually, however I was wondering if anyone would know a way to implement a date range filter in this example?
The only idea which I have (and which I can’t make work) is putting both values into one object var and parsing that object var into the controller function. If anyone could show me how to make it work I’d be beyond delighted!