mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-21 23:58:02 +01:00
Reload price on keyup too
This commit is contained in:
parent
755d896f1c
commit
f8e7647af1
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class BasketForm(forms.ModelForm):
|
|||
self.helper.add_input(Submit("submit", _("Save")))
|
||||
self.helper.attrs = {
|
||||
"hx_post": reverse("purchase:price_preview"),
|
||||
"hx_trigger": "change",
|
||||
"hx_trigger": "keyup,change",
|
||||
"hx_target": "#price_preview",
|
||||
"hx_swap": "innerHTML",
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue