2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

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
2022-11-10 12:51:15 +11:00
committed by GitHub
parent fb77158496
commit 57a20be5c3
8 changed files with 57 additions and 20 deletions

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")
)