Remove client-side length validation in form inputs (#3911)

* Remove client-side length validation in form inputs

- Let the server throw an error (so the user sees it)

* Update instances of models.URLField to InvenTreeURLField
This commit is contained in:
Oliver authored and GitHub committed 2022-11-10 12:51:15 +11:00
1 parent fb77158496
commit 57a20be5c3
8 files changed
+57 -20

No files matched your search

+1 -1
View File
@@ -656,7 +656,7 @@ class StockItem(InvenTreeBarcodeMixin, MetadataMixin, MPTTModel):
link = InvenTreeURLField(
verbose_name=_('External Link'),
blank=True, max_length=200,
blank=True,
help_text=_("Link to external URL")
)