When the rating is submitted, because it's happening on the 'onchange' for the rating value itself, if there's already a rating, when you click it, it removes the value and thus sets a rating of zero.
Instead, I'll have to change the submit rating to its own independent button in the modal.
When the rating is submitted, because it's happening on the 'onchange' for the rating value itself, if there's already a rating, when you click it, it removes the value and thus sets a rating of zero.
Instead, I'll have to change the submit rating to its own independent button in the modal.