fix: clear warning state on Decimal.parse error
Explicitly call hide_amount_warning when Decimal.parse returns error.
This commit is contained in:
parent
856ce53295
commit
619fdc90af
1 changed files with 1 additions and 1 deletions
|
|
@ -414,7 +414,7 @@ defmodule MvWeb.MembershipFeeTypeLive.Form do
|
||||||
end
|
end
|
||||||
|
|
||||||
:error ->
|
:error ->
|
||||||
socket
|
hide_amount_warning(socket)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue