[SOLVED] Rating must have between 1 and 5 item(s)

I’m submitting a…

[ ] Regression (a behavior that stopped working in a new release)
[ x] Bug report
[ ] Performance issue
[ ] Documentation issue or request

Current behavior

png

Expected behavior

Expecting Squidex to accept a value between 1 and 5.

Minimal reproduction of the problem

Create a new schema with a rating field.
Create a new content from that schema.
Pick a rating.
Try so save content page. => validation error.

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [x ] Self hosted with other version (running locally on my own machine) cloned latest version yesterday.
  • [ ] Cloud version

Browser:

  • [ x] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge

Others:

Thank you, I have already noticed it. I have added the wrong validator to the control. Fixed in a branch, but have forgotten to merge it in the main branch. Will solve it it today.

Awesome, thanks again for the lightning fast reply (on a sunday) :stuck_out_tongue:

In Germany we say “selbsständig” when you are a freelancer or a startup. It means “self” and “always” :wink:

hehe yeah, kinda in the same spot :wink:

I pushed the fix to github.

Cool, will pull latest commits and retest, thanks.

Works now. Thanks! Thanks!