Datepicker Array


I am having a bit of trouble with dynamically generate DatePicker. All the DataPicker seems to changed to the same selected value whenever any one of them changes.

It seems that

const [selectedCompleteDate, setCompleteDate] = React.useState(new Date());
const handleCompleteDateChange = (date) => {

only works for a single DatePicker component. How should I rewrite it to make it work for an arbitrary number of DatePicker array?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.