akveo / react-native-ui-kitten

:boom: React Native UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/react-native-ui-kitten/
MIT License
10.19k stars 952 forks source link

How to restrict range of years - B.C. and dates in the far future are displayed #1759

Open ZoltanSzokodi opened 1 year ago

ZoltanSzokodi commented 1 year ago

💬 Question

I'm having trouble finding a solution to restrict the selectable years' range. Although I can make them unselectable, it feels odd that the user can navigate back to B.C. dates. Unfortunately, I haven't come across any available properties to address this issue. I would greatly appreciate any alternative suggestions or solutions to tackle this "limitation".

Screenshot 2023-06-30 at 10 34 43 Screenshot 2023-06-30 at 10 34 01

UI Kitten and Eva version

"@eva-design/eva": "^2.1.1", "@ui-kitten/components": "^5.1.2", "@ui-kitten/date-fns": "^5.3.1", "@ui-kitten/eva-icons": "^5.1.2", "@ui-kitten/metro-config": "^5.1.2",

__ "react-native": "0.69.9", "react-native-web": "^0.18.7"