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

Add a button to set default value in DatePicker's dropdown #2316

Closed
poi33 opened this issue Dec 17, 2021 · 1 comment
Closed

Add a button to set default value in DatePicker's dropdown #2316

poi33 opened this issue Dec 17, 2021 · 1 comment
Assignees
Labels
Feature New feature or request

Comments

@poi33
Copy link
Contributor

poi33 commented Dec 17, 2021

The button should be called "Set default" (make sure to create a new i18 resource) and only be visible if there's a default value set in the XML schema. Disable the button if current value is already set to default.

@poi33 poi33 added Improvement Suggestion for improvement javascript Pull requests that update Javascript code labels Dec 17, 2021
@poi33 poi33 self-assigned this Dec 17, 2021
poi33 pushed a commit that referenced this issue Dec 17, 2021
poi33 pushed a commit that referenced this issue Dec 27, 2021
poi33 pushed a commit that referenced this issue Dec 28, 2021
poi33 pushed a commit that referenced this issue Dec 29, 2021
@poi33
Copy link
Contributor Author

poi33 commented Jan 3, 2022

After discussing this futher the reset button shoud be called set default and only be visible if the default value is set in the schema.

Reset can be interpreted in different ways. And we don't want to have consuing UI if possible.

@poi33 poi33 changed the title Date/datetime selector add a reset button Date/datetime selector add a 'set default' button Jan 6, 2022
poi33 pushed a commit that referenced this issue Jan 6, 2022
@alansemenov alansemenov changed the title Date/datetime selector add a 'set default' button Add a button to set default value in DatePicker's dropdown Jan 10, 2022
poi33 pushed a commit that referenced this issue Jan 11, 2022
poi33 pushed a commit that referenced this issue Jan 17, 2022
poi33 pushed a commit that referenced this issue Jan 17, 2022
poi33 pushed a commit that referenced this issue Jan 17, 2022
poi33 pushed a commit that referenced this issue Jan 17, 2022
poi33 pushed a commit that referenced this issue Mar 17, 2022
poi33 pushed a commit that referenced this issue Mar 23, 2022
Added a default button to the date picker popup
poi33 pushed a commit that referenced this issue Mar 23, 2022
Added a default button to the date picker popup
@alansemenov alansemenov removed the javascript Pull requests that update Javascript code label Mar 28, 2022
@alansemenov alansemenov added Feature New feature or request and removed Improvement Suggestion for improvement labels Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants