mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Widget & Cart: Add custom number spinners for item quantity
This commit is contained in:
committed by
GitHub
parent
f97effd0b7
commit
1d0eb81659
@@ -2608,6 +2608,15 @@ Your {organizer} team"""))
|
||||
label=_("Use round edges"),
|
||||
)
|
||||
},
|
||||
'widget_use_native_spinners': {
|
||||
'default': 'False',
|
||||
'type': bool,
|
||||
'form_class': forms.BooleanField,
|
||||
'serializer_class': serializers.BooleanField,
|
||||
'form_kwargs': dict(
|
||||
label=_("Use native spinners in the widget instead of custom ones for numeric inputs such as quantity."),
|
||||
)
|
||||
},
|
||||
'primary_font': {
|
||||
'default': 'Open Sans',
|
||||
'type': str,
|
||||
|
||||
Reference in New Issue
Block a user