[FIX] website_payment: update input minimum value in donation snippet

Before this commit, the minimum value of the custom button was not
updated when removing descriptions.

task-2637492

X-original-commit: 60266bf72abeac5689c8ae1cbc8d61d57a966fb0
Part-of: odoo/odoo#78089
This commit is contained in:
Benjamin Vray
2021-10-11 10:15:57 +00:00
parent 8196bb0359
commit fe1c1f35f7
@@ -10,7 +10,7 @@
t-esc="prefilled_button_value"/>
</t>
<button t-if="custom_input" type="button" class="s_donation_btn s_donation_custom_btn btn btn-outline-primary btn-lg mb-2 mr-1">
<input id="s_donation_amount_input" type="number" min="5" class="" placeholder="Custom Amount" aria-label="Amount"/>
<input id="s_donation_amount_input" type="number" t-att-min="minimum_amount" class="" placeholder="Custom Amount" aria-label="Amount"/>
</button>
</div>
</t>