DuMont
DuMont

Reputation: 55

"Angular 5+ bootstrap date & time picker" - Date Only

Hi Community!

I am Working with the following Date/Time-Picker: https://dalelotts.github.io/angular-bootstrap-datetimepicker/index.html

We use it on a Website several times in formulars to insert complexe Dates with Times, but now I need it in a special Case with the Date Only. To keep the Style of the Website I would like to use the same component as on the other tickers, but I am not able to configure this Component. Has anyone Experience with it and can tell me how this works?

Thank you all!

Upvotes: 1

Views: 274

Answers (1)

Ankit Sharma
Ankit Sharma

Reputation: 1704

You need to set minView to day as the documentation says:-

If you want the end-user to select a only day (date), setting minView to day will cause selection to happen when the end-user selects a cell in the day view.

Source of the documentation.

Upvotes: 1

Related Questions