Skip to content

Stars

stars

Description

Shows a star rating control

Attributes

  • minimum: default 1
  • maximum: default 5
  • multipleOf: default 1
  • default: Provide default rating value if not provided take 1

Example

{
  "type": "string",
  "$capture": {
    "as": "stars",
    "minimum": 1,
    "maximum": 8,
    "multipleOf": 0.5
  },
  "default": 3,
  "$display": {},
  "title": "Starts metric"
}