vaadin / vaadin/framework

Make year editable in DateField caledar popup

Open
#1,217 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
1.8k
Forks
717
Avg merge
2d 6h
Merged PRs (30d)
3

Description

Originally by @jojule


Try to select 16.3.1752 in http://demo.vaadin.com/sampler/#DateResolution

Maybe clicking the year in the calendar could let the user to edit the number directly? This would be usable and easy to implement (just put the year number in a text input field, style it to look like the current calendar and switch to a style that communicates that the number can be edited when the field has focus.


Imported from https://dev.vaadin.com/ issue #5584

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the DateResolution sampler at the linked demo and inspect the DateField calendar popup behavior around year selection. Done means a user can edit the year directly in the popup and select a date such as 16.3.1752; the payload does not identify a source file or test.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.