New to KendoReact? Start a free 30-day trial

Controlled Mode

By default, the Rating is in an uncontrolled state.

Set the defaultValue property if you want to stay in uncontrolled mode.

To control the state of the Rating:

  1. Use its value property.
  2. Handle the onChange event.
  3. Pass the new value through the props.
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?