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
Describe the bug
If I have a Umb.PropertyEditorUi.DatePicker property rendering in a umb-property-dataset, and I reset the properties bound to that dataset, most property editors reset their value, but the date picker doesn't appear to do so.
This should also reset it's value back to the default if the model changes in this way.
To Reproduce
Steps to reproduce the behavior:
Create an editor UI that renders an umb-property that uses a Umb.PropertyEditorUi.DatePicker inside a umb-property-dataset
Setup a state to hold the property values
Bind the umb-property-dataset to the property values collection
Setup a button that when clicked, resets the property values collection to []
Expected behavior
I would expect the date picker to reset
Desktop (please complete the following information):
I just tested this on 14.1.1 and was able to clear the value through the UMB_PROPERTY_DATASET_CONTEXT. I believe it was fixed because of umbraco/Umbraco.CMS.Backoffice#2115, which got released in 14.1.1, but it could have been something else. I'll mark this as completed.
Describe the bug
If I have a
Umb.PropertyEditorUi.DatePicker
property rendering in aumb-property-dataset
, and I reset the properties bound to that dataset, most property editors reset their value, but the date picker doesn't appear to do so.This should also reset it's value back to the default if the model changes in this way.
To Reproduce
Steps to reproduce the behavior:
umb-property
that uses aUmb.PropertyEditorUi.DatePicker
inside aumb-property-dataset
umb-property-dataset
to the property values collection[]
Expected behavior
I would expect the date picker to reset
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: