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


#1

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:


#2

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.


#3

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


#4

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


#5

hehe yeah, kinda in the same spot :wink:


#6

I pushed the fix to github.


#7

Cool, will pull latest commits and retest, thanks.


#8

Works now. Thanks! Thanks!


#9