Closed dedayoa closed 6 years ago
Huh, it seems that there's PriceField
that handles Price
s where it should be replaced by an AmountField
that handles Amount
s. There's no good way to handle a Price
object with a single input.
@patrys but that's not the case - at least not obviously. I am aware of the changes to both prices and django-prices (between 0.X.X and the 1.0) and have updated my code appropriately...but still have the issues I'm trying to remedy crop up.
I know, I'm commenting on the current state of django-prices
, not your change. I think we need to rework the fields and widgets exposed to the UI.
Hey @dedayoa! Thank you for reporting the issue and taking time to come up with the fix!
We've just released 1.0.0 beta 3 that includes fix as part of its changes.
Display proper Amount value in html input field