I have changed format to DD/MM/YYYY using dateTimeAdapter.setLocale('en-IN') in constructor. If I click the calendar and select the date Its in format of DD/MM/YYYY but If I manually type 03/28/2019, it still accepts. I want to restrict other format except DD/MM/YYYY even in typing.
I have changed format to
DD/MM/YYYY
usingdateTimeAdapter.setLocale('en-IN')
in constructor. If I click the calendar and select the date Its in format ofDD/MM/YYYY
but If I manually type03/28/2019
, it still accepts. I want to restrict other format exceptDD/MM/YYYY
even in typing.