Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Change storefront add note widget

dominik-zeglen7ba89411b5bf
diff --git a/saleor/checkout/forms.py b/saleor/checkout/forms.py
index beb892ce0f..9f20a20e06 100644
--- a/saleor/checkout/forms.py
+++ b/saleor/checkout/forms.py
@@ -119,6 +119,7 @@ class NoteForm(forms.Form):
""" Form to add a note to an order as it is
created for shop staff to see """
note = forms.CharField(max_length=250, required=False, strip=True)
+ note.widget = forms.Textarea({'rows': 3})
def __init__(self, *args, **kwargs):
self.checkout = kwargs.pop('checkout', None)