mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
No cutoff for default ChoiceField, only for relationships
This commit is contained in:
parent
f4412d0827
commit
99beeb80e1
|
@ -1202,7 +1202,7 @@ class ChoiceField(Field):
|
|||
default_error_messages = {
|
||||
'invalid_choice': _('"{input}" is not a valid choice.')
|
||||
}
|
||||
html_cutoff = 1000
|
||||
html_cutoff = None
|
||||
html_cutoff_text = _('More than {count} items...')
|
||||
|
||||
def __init__(self, choices, **kwargs):
|
||||
|
|
Loading…
Reference in New Issue
Block a user