Hello,
I've this warning on page loading
Warning: React does not recognize the `firstDate` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `firstdate` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
in td (created by CalendarWeekCell)
in CalendarWeekCell (created by View)
<div>
<DatePicker
name="OperationDate" className="OperationDate"
defaultValue={fromData.Date}
format="dd/MM/yyyy"
width={116}
tabIndex={8}
weekNumber={true}
weekCell={CustomWeekCell}
onChange={this.handleChange}
{...this.props} />
</div>
I defined this const to resolve this issue :
const CustomWeekCell = ({
FirstDate,
...props}) => <CalendarWeekCell {...props} />
But it's no effect
a part of my package.json below :
"@progress/kendo-data-query": "^1.5.5","@progress/kendo-drawing": "^1.10.1",
"@progress/kendo-licensing": "^1.1.4",
"@progress/kendo-react-animation": "^4.7.0",
"@progress/kendo-react-buttons": "^4.7.0",
"@progress/kendo-react-data-tools": "^4.7.0",
"@progress/kendo-react-dateinputs": "^4.7.0",
"@progress/kendo-react-dropdowns": "^4.7.0",
"@progress/kendo-react-excel-export": "^4.7.0",
"@progress/kendo-react-grid": "^4.7.0",
"@progress/kendo-react-inputs": "^4.7.0",
"@progress/kendo-react-intl": "^4.7.0",
"@progress/kendo-react-layout": "^4.7.0",
"@progress/kendo-react-pdf": "^4.7.0",
"@progress/kendo-react-tooltip": "^4.7.0",
Do you known how resolve this issue (it's a big warning in my JS console) ?
Thank you
I've solved my issue with "FirstDate" => "firstDate" but it's an issue for me