A small plugin for Frappe that adds the support of customizations to the numerical controls.
A small plugin for Frappe that adds the support of customizations to the numerical controls.
{"min": 10, "max": 100}
🚩 Note
You can't modify the original fields of a doctype, so create a new field or clone and modify the entire doctype.
| Option | Description || :--- | :--- || min | The minimum number allowed. - Example: -- Int: 10 -- Float: 10.5 || max | The maximum number allowed. - Example: -- Int: 100 -- Float: 100.5 || divisibleby | The number that the value must be divisible by. 🔵 Only for Int fields. - Example: 5 || minfield | The name of the field that holds the minimum number allowed. - Example: minprice || maxfield | The name of the field that holds the maximum number allowed. - Example: maxprice |
⛔ The checking order is as follows:maxfield, minfield, divisibleby, max, min
No reviews yet, be the first to review.