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
Which Umbraco version are you using? For example: 10.3.2 - don't just write v10
Umbraco 10.4.0
Bug summary
Umbraco.Community.Contentment.DataPicker allows to set Maximum items limit. It is not validating the number of items selected, it only prevents selecting more items when the items are already selected.
Steps to reproduce
Create a new data type using [Contentment] Data Picker (Umbraco.Community.Contentment.DataPicker)
As the Data Source select a country list (.NET Countries (ISO 3166-1))
Set Maximum items property to a desired value higher than 0 (low value will be more useful in this case)
Assign the data type to a doc type or element type property
Save the data type and the doc type, create a content based on the doc type in the Content section and go to add the value in the content.
Click Add button to add values to the property of newly created data type, select more than the value set in Maximum items limit of the data type.
Save
More than allowed Maximum items values can be selected if selected in one go or if selected before the limit has been reached. They also can be saved. No validation is present to disallow selection of more items than set in Maximum items.
Expected result / actual result
It should not allow to save the property with more items than set in the Maximum items
It should prevent selection or it should throw a validation error if more items selected.
Do you have Umbraco ModelsBuilder enabled?
Yes, it is enabled.
What browsers are you seeing the problem on?
Chrome
The text was updated successfully, but these errors were encountered:
Which Contentment version are you using?
4.6.0
Which Umbraco version are you using? For example: 10.3.2 - don't just write v10
Umbraco 10.4.0
Bug summary
Umbraco.Community.Contentment.DataPicker allows to set Maximum items limit. It is not validating the number of items selected, it only prevents selecting more items when the items are already selected.
Steps to reproduce
Umbraco.Community.Contentment.DataPicker
)More than allowed Maximum items values can be selected if selected in one go or if selected before the limit has been reached. They also can be saved. No validation is present to disallow selection of more items than set in Maximum items.
Expected result / actual result
It should not allow to save the property with more items than set in the Maximum items
It should prevent selection or it should throw a validation error if more items selected.
Do you have Umbraco ModelsBuilder enabled?
What browsers are you seeing the problem on?
Chrome
The text was updated successfully, but these errors were encountered: