1

It seems to insist on making you choose a time also. I went through the read me several times and I'm not seeing how to only do a date.

https://github.com/dalelotts/angular-bootstrap-datetimepicker

2

1 Answer 1

3

You need to set minView to day in the config datetimepicker-config="{'minView':'day'}". It restricts selection till that level. So, by making it day, we won't let it select further days. Like this:

<datetimepicker ng-model="date" datetimepicker-config="{'minView':'day'}" />

That should do it!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.