Control Popup State of DateTimePicker in a Dialog

1 Answer 56 Views
DateTimePicker Dialog
Karalynn
Top achievements
Rank 1
Karalynn asked on 21 Apr 2023, 09:02 PM

So it seems no matter what I do, I can't have a DateTimePicker default to show={true} in a Dialog. I keep getting a Maximum Update error in the popup. All I'm trying to render is this;

return (
     <Dialog
      title="Select Time Range"
      onClose={props.toggleDialog}
      width={900}
      height={700}
    >
      <DateTimePicker
        show={true}
      ></DateTimePicker>    
    </Dialog>
  );

1 Answer, 1 is accepted

Sort by
1
Accepted
Wissam
Telerik team
answered on 24 Apr 2023, 12:51 PM

Hi, Karalynn,

Apologies for the inconvenience caused by this bug.

We have an open item for this issue that appears only locally when setting the `show` prop to true to any of the DateInput components when using React StrictMode. For convenience, I have added your report to the logged bug in order to increase its priority, you can track it here:

Meanwhile, you can avoid this unwanted behavior by removing StrictMode.

Regards,
Wissam
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
DateTimePicker Dialog
Asked by
Karalynn
Top achievements
Rank 1
Answers by
Wissam
Telerik team
Share this question
or