primefaces / primefaces/primereact
Calendar: Initial view
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 8.3k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Describe the feature you would like to see added
It would be nice if we could define the initial view of the calendar popup, for example, an initialView="year" option would show the year selector immediately after the popup opens and then allow the date selection to start from selecting the year (useful for selecting birthdate for example).
Describe alternatives you have considered
Tried the existing view prop but it doesn't allow the selection to continue, i.e. setting view="year" closes the popup after selecting the year.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the calendar popup component and tracing how its existing view prop controls the opening view and subsequent selection. Implement an initial view option that opens at the requested year view while preserving continued date selection, then verify the birthdate-style flow and existing view behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100