Simple Svelte component, with no dependencies, for implementing and capturing assessments through a simple and intuitive interface that will take you to the stars. ✨
This PR aims to adjust the input responsible for controlling the "rating" value, given that when the readOnly = true value was assigned, it would be disabled, preventing click events.
A ternary operator was created to set the minimum and maximum values of the input, where in the case of readOnly, the values will be the same as the defined score, preventing user changes.
This PR aims to adjust the input responsible for controlling the "rating" value, given that when the
readOnly = true
value was assigned, it would be disabled, preventing click events.A ternary operator was created to set the minimum and maximum values of the input, where in the case of
readOnly
, the values will be the same as the defined score, preventing user changes.