You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metadata inputs of type date do not behave/preserve properly when used in the metadata editor.
When you focus the date input and type the desired date by keyboard, that value is not submitted/preserved.
However, selecting the date by clicking on a day in the calendar popup works (It might be, that the blur event does not submit the value, but the datechanged event does (only fired when clicking on a day in the calendar popup).
To Reproduce
Define a key in the ruleset with <codomain type="date"/>.
Open the metadata editor and add one input of the defined key.
Click into the input field and type a date (e.g. 2024-03-04)
Select another structure element and select the first one again to update the metadata panel
The value that was typed earlier is missing
Expected behavior
The date should be submitted/preserved when the value was typed. This should happen when the blur event is fired from the input field.
Workaround
Focus the input field and type the value
Click the button to open the calendar popup
Click on the day representing the already typed date
By typing the date first the calendar popup will display the desired month. This way the user is not required the select the month by clicking the left or right arrow in the popup, wich could require hundreds of click when the desired date is far in the past/future.
Release
3.6.2
The text was updated successfully, but these errors were encountered:
Metadata inputs of type date do not behave/preserve properly when used in the metadata editor.
When you focus the date input and type the desired date by keyboard, that value is not submitted/preserved.
However, selecting the date by clicking on a day in the calendar popup works (It might be, that the
blur
event does not submit the value, but thedatechanged
event does (only fired when clicking on a day in the calendar popup).To Reproduce
<codomain type="date"/>
.2024-03-04
)Expected behavior
The date should be submitted/preserved when the value was typed. This should happen when the
blur
event is fired from the input field.Workaround
By typing the date first the calendar popup will display the desired month. This way the user is not required the select the month by clicking the left or right arrow in the popup, wich could require hundreds of click when the desired date is far in the past/future.
Release
3.6.2
The text was updated successfully, but these errors were encountered: