Hello
I wanted to filter data by date. I have two fields "startDate" and "endDate" so I opted to use the DateRange with the option of using two fields in dataField...
In the official documentation of the DateRange is written:
dataField String or Array
database field(s) to be connected to the component’s UI view.
https://opensource.appbase.io/reactive-manual/range-components/daterange.html
But when I use an array of two strings I get a warning Invalid prop dataField of type array supplied to DateRange, expected string.
<DateRange ... dataField={["MY_START_DATE", "MY_END_DATE"]} ... />
Hello I wanted to filter data by date. I have two fields "startDate" and "endDate" so I opted to use the DateRange with the option of using two fields in dataField... In the official documentation of the DateRange is written: dataField String or Array database field(s) to be connected to the component’s UI view. https://opensource.appbase.io/reactive-manual/range-components/daterange.html But when I use an array of two strings I get a warning Invalid prop
dataField
of typearray
supplied toDateRange
, expectedstring
.<DateRange ... dataField={["MY_START_DATE", "MY_END_DATE"]} ... />