ST-13538 FIX enforce limited decimal places in moneyinput component#223
ST-13538 FIX enforce limited decimal places in moneyinput component#223koyomdev21 wants to merge 4 commits into
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| /** | ||
| * If this is passed as true, it will limit the decimal places | ||
| * of the input to the `decimal` prop value. This is useful | ||
| * for cases like weight or quantity inputs where you want to | ||
| * enforce a certain number of decimal places. | ||
| */ | ||
| isEnforceLimitedUnit: { | ||
| type: Boolean, | ||
| default: false, | ||
| }, |
There was a problem hiding this comment.
can explain how this is different from the usage of existing prop decimal. and why the comment has weight and quantity, because this component should be used strictly for money input only, weight and quantity can use QuantityInput
No description provided.