I'm using primefaces calendar but I'm having a problem with the year. The select component lists just the last (and next) 10 years, so between 2003 and 2023. In a field of birthday it can be terrible.. Follow the print of the component. How can I fix it?
I managed to fix this!
I just defined the attribute yearRange. The default value is yearRange="c-10:c+10" So I put like this:
yearRange="c-70:c+10"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With