Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jquery rating version displays NULL #238

Closed
nelero opened this issue Feb 16, 2017 · 2 comments
Closed

jquery rating version displays NULL #238

nelero opened this issue Feb 16, 2017 · 2 comments
Labels

Comments

@nelero
Copy link

nelero commented Feb 16, 2017

if i use the latest version of the jquery survey with a rating question, it displays null for near min and max values
capture_jquery_rating

JSON :

{
 pages: [
  {
   name: "page1",
   questions: [
    {
     type: "rating",
     name: "global_rating",
     rateValues: [
      "1",
      "2",
      "3",
      "4",
      "5"
     ],
     title: "Rate from 1 to 5 your satisfaction"
    },
]
}
]
}
@andrewtelnov
Copy link
Member

@nelero Yes, indeed there is a bug. I will work on the fix. As a workaround, please set the following properties:

     maximumRateDescription: " ",
     mininumRateDescription: " ",

JSON:

{
 pages: [
  {
   name: "page1",
   questions: [
    {
     type: "rating",
     maximumRateDescription: " ",
     mininumRateDescription: " ",
     name: "global_rating",
     title: "Rate from 1 to 5 your satisfaction",
     rateValues: [
      "1",
      "2",
      "3",
      "4",
      "5"
     ]
    }
   ]
  }
 ]
}

Thank you,
Andrew

@andrewtelnov
Copy link
Member

Fixed in v0.12.0

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

No branches or pull requests

2 participants