Method to make calendar show on PopupDateField
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
Originally by stevebor1
There might be times when the calendar popup should be displayed on init and not require the user the explicitly click the button. Also would be good to be able to create a focus listener on the textfield and trigger the calendar to display without the need to explicitly click the button.
Request
#!div style="font-size: 80%"
Code highlighting:
{{{#!java
PopupDateField datefield new PopupDateField();
dateField.showCalendar(true);
}}}
Imported from https://dev.vaadin.com/ issue #19852
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 PopupDateField implementation and inspect how its calendar popup is opened and how focus events are handled. Confirm the intended showCalendar behavior from the issue, then check the existing PopupDateField tests or UI test entry points; done means the calendar can open on initialization or from text-field focus without requiring the button.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100