akveo / akveo/react-native-ui-kitten

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

Offen
#1,759 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
TypeScript
Sterne
10.7k
Forks
962
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

## 💬 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"

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.