0

I am using Angular bootstrap datetimepicker: https://dalelotts.github.io/angular-bootstrap-datetimepicker/

I am going to disable "time", want to enable only date. I am using this option:

<datetimepicker ng-model="pageData.currentNote.date" data-datetimepicker-config="{ dropdownSelector: '#dropdown', startView:'day', minView:'day' }"></datetimepicker>

Time select Panel is removed , but I am getting time field:

Thu Sep 07 2017 00:00:00 GMT-0400 (EDT)

I don't want time field. Any solution to remove this?

1

1 Answer 1

1

This control you have selected looks like a date time picker specific to its function of selecting a date and then a time.

You should really look into https://angular-ui.github.io/bootstrap/ and specifically https://angular-ui.github.io/bootstrap/#!#datepicker

This is a great toolset to use for Angular 1

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

3 Comments

@lan Roberts-It's really great! Thanks!
Is there any great datepicker for AngularJS and bootstrap3?
@Deimos620 this is for angular1 and Bootstrap 3. If you are using Angular 2 then you must use ng-bootstrap (ng-bootstrap.github.io/#/home). Otherwise, this is the correct toolset for Angular 1 and Bootstrap 3.

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.