This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Dependent currency field not storing value as minor units #6695
Labels
pending
Issues that are pending triage
Description:
When toggling visibility of two fields and one of them is a currency field even though I have specified that the currency is in minor units it's not properly storing the value correctly. When typing 2, it stores 2 instead of 200. This bug does not occur when switching the order of the dependOn fields. I think it only happens when these two dependent fields share the same column.
Detailed steps to reproduce the issue on a fresh Nova installation:
Create a resource that has 3 fields. The first one is a select with two options. After this field add Currency field that has ->asMinorUnits(). After this one add a Number field. These last two fields dependOn the value of the first one, only one of them is shown depending on the option selected on the first field.
The text was updated successfully, but these errors were encountered: