Tek
Posts: 2
Joined: Tue Jun 22, 2021 8:07 am

Range Selecte Invalid Input Dates

Hi.
Is there a way I can display a message or a red border when the user is inserting a invalid date in the range selector input?
Image
Tek
Posts: 2
Joined: Tue Jun 22, 2021 8:07 am

Re: Range Selecte Invalid Input Dates

Sorry for double post: This is the img https://imgur.com/a/u4LGFHy
dominik.c
Posts: 2081
Joined: Fri Aug 07, 2020 7:07 am

Re: Range Selecte Invalid Input Dates

Hello Tek!

Welcome to our forum and thanks for contacting us with your question!

Unfortunately, there are no API options that could do that. You can write your own custom code to check if the date is valid and if not get to the input through HTML (and DOM) and update its CSS.

Best regards!
Dominik Chudy
Highcharts Developer

Return to “Highcharts Stock”