fix: Rate control read only mode (#24055)

- It should inherit ControlFloat as underlying value is float.

closes https://github.com/frappe/frappe/issues/24053
This commit is contained in:
Ankush Menat 2024-01-01 12:13:14 +05:30 committed by GitHub
parent c00d5ac258
commit d5a727dc58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
frappe.ui.form.ControlRating = class ControlRating extends frappe.ui.form.ControlInt {
frappe.ui.form.ControlRating = class ControlRating extends frappe.ui.form.ControlFloat {
make_input() {
super.make_input();
let stars = "";