shutyaev
shutyaev

Reputation: 287

how to disable "free" user input in eonasdan-datetimepicker?

Is there any way to disable "free" user input eonasdan-datetimepicker? My goal is to force user to select the dates using the picker and completely disallow entering dates manually.

Upvotes: 0

Views: 201

Answers (1)

Roman
Roman

Reputation: 3941

Its simple, you have to add to your input-group the attribute readonly. It disables the user input but still accepts data. Should be the same with eonasdan-datetimepicker.

Here is a Fiddle

Upvotes: 1

Related Questions