In datetimepicker when you enter only date and reload the page , date is not clearing

0 Answers 32 Views
DatePicker DateTimePicker
Mounikareddy
Top achievements
Rank 1
Mounikareddy asked on 22 Jan 2024, 04:23 PM

Hi , Here is the code we are using for datetimepicker , kindly have a check , 

 <IntlProvider locale={this.currentLocale}>
                                {isDateTimePicker ?
                                    <DateTimePicker
                                        value={this.state.fieldValue}
                                        onChange={this.changeDate}
                                        width={width}
                                        format={getLocaleDateString(window.navigator.language, isDateTimePicker)}
                                    /> :
                                    <DatePicker
                                        value={this.state.fieldValue}
                                        onChange={this.changeDate}
                                        width={width}
                                        format={getLocaleDateString(window.navigator.language)}                                        
                                    />
                                }
                            </IntlProvider>
Wissam
Telerik team
commented on 24 Jan 2024, 12:50 PM

Hi, Mounikareddy,

Thank you for the provided screenshot and code sample.

Could you please share with me the logic executed after pressing the `Reload` button so that I can have a closer understanding of the faced issue?

Regards,
Wissam
Progress Telerik

No answers yet. Maybe you can help?

Tags
DatePicker DateTimePicker
Asked by
Mounikareddy
Top achievements
Rank 1
Share this question
or