How to disable specific months between min and max for input type = month?
P粉748218846
P粉748218846 2024-03-30 18:25:11
0
1
433

When using <input type="month"> with min and max, for example:

<input type="month" min="2020-01" max="2020-12">

Is it possible to disable certain months between them?

P粉748218846
P粉748218846

reply all(1)
P粉460377540

You can try a custom JavaScript library or a third-party date picker component. I have some stuff on my computer about this. Modify it to work as you need.

  
    sssccc
    
  
  
    
    sssccc
  
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!