Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: How to get only month in datepicker

Nguyen Ba Tung premium asked 3 years ago


how can i choose only each month and year in datepicker enter image description here

When I select the month, the date selection will appear immediately after that

enter image description here

and then i select the month again, the error occursenter image description here

this is my code enter image description here

thank you!


Arkadiusz Idzikowski staff commented 3 years ago

@Nguyen Ba Tung I think that the error is caused by the incorrect format (you need to include days format as well). Can you provide more information about reproduction steps?


Nguyen Ba Tung premium commented 3 years ago

@Arkadiusz Idzikowski so how to filter only month and year in datepicker?


Arkadiusz Idzikowski staff commented 3 years ago

@Nguyen Ba Tung I'm afraid that such a use case is not possible with our component current implementation. Information about the selected day is necessary for the correct formatting of the date.


Nguyen Ba Tung premium commented 3 years ago

@Arkadiusz Idzikowski Thank you!



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 1.3.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No