Rating

Rating adds rating selection

Parameters

Param Type Default Description
name string Name of the element
toName string Name of the element that you want to label
[maxRating] number 5 Maximum rating value
[defaultValue] number 0 Default rating value
[size] string "medium" One of: small, medium, large
[icon] string "start" One of: star, heart, fire, smile
hotkey string HotKey for changing rating value
[required] boolean false validation if rating is required
[requiredMessage] string message to show if validation fails
[perRegion] boolean use this tag for region labeling instead of the whole object labeling

Example

<View>
  <Text name="txt" value="$text" />
  <Rating name="rating" toName="txt" maxRating="10" icon="star" size="medium" />
</View>