Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Matryoshka removing min/max validation on multinode pickers #13

Closed
TheMirzai opened this issue Apr 3, 2020 · 1 comment
Closed

Matryoshka removing min/max validation on multinode pickers #13

TheMirzai opened this issue Apr 3, 2020 · 1 comment

Comments

@TheMirzai
Copy link

My usecase on this is having a multinode picker where you have to pick a minimum of 4 item, and a maximum of 5. When saving with 3 items, no validation is thrown with Matryoshka installed.

I've dug into Umbraco and within the valPropertyMsg in umbraco.directives.js, the errors look to be empty when hitting "Save and Publish" for some reason. Not sure if anything is getting wiped at any point.

Reproduction

  • Fresh VS 2019 (Empty) project, standard install of Umbraco 8.6.0
  • Create Custom Multinode picker with minimum 4, maximum 5. Attempt to add 3 nodes and when hitting "Save and Publish", validation error message is thrown.
  • Installed Matryoshka 0.1.0
  • Redo above step, hit "Save and Publish" and item is saved successfully.
@skttl
Copy link
Owner

skttl commented Apr 12, 2020

Fixed in 87a9032

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants