Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing date (time) picker and adding it back in the dom resets the display pattern #105

Closed
vaadin-miki opened this issue May 7, 2020 · 0 comments · Fixed by #106
Closed
Assignees
Labels
bug Something isn't working

Comments

@vaadin-miki
Copy link
Owner

vaadin-miki commented May 7, 2020

Once a component is created and added to DOM, it cannot be removed without losing the date display pattern,

Steps to reproduce:

  1. Create a super date (time) picker and set its display pattern to something.
  2. Display the component, then remove it from dom and add it back.
  3. Notice the display pattern reset.

Expected: date display pattern stays unchanged.

@vaadin-miki vaadin-miki self-assigned this May 7, 2020
@vaadin-miki vaadin-miki added the bug Something isn't working label May 7, 2020
@vaadin-miki vaadin-miki added this to the Next release milestone May 7, 2020
@vaadin-miki vaadin-miki changed the title Navigating to a different view resets date pattern Removing date (time) picker and adding it back in the dom resets the display pattern May 7, 2020
vaadin-miki added a commit that referenced this issue May 7, 2020
@vaadin-miki vaadin-miki mentioned this issue May 7, 2020
vaadin-miki added a commit that referenced this issue May 7, 2020
vaadin-miki added a commit that referenced this issue May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant