[HELP] Date Range Picker

Hi everyone,

First question:

How can I set the starting date of my DateRangePicker to the last 30 days?

I tried using moment for this but I was unsuccessful

Starting Date: moment().subtract(29, 'days').format('YYYY-MM-DD')
Final Date: moment().format('YYYY-MM-DD')

I tried creating two variables but I can't set their values ​​with moment, NOW, or anything like that... I don't know what else to test, is there any solution for this?

The second question:

How can I create custom dates in the wappler daterangepicker?

image

Thanks