Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Textfield maxlength attribute dosen't match the database char limit #563

Closed
morin0094 opened this issue May 14, 2021 · 0 comments
Closed

Comments

@morin0094
Copy link

I notice that the maxlength attribute of a textfield is set to 500 when the database varchar limit is set to 250.

Reproduction

Start a brand new instance of Umbraco (in my case is 8.13). Install forms. Look at the maxlength attributes in FieldType.Textfield.cshtml and compare this to the character limit in the database for this type of field.

Bug summary

Specifics

Steps to reproduce

Expected result

Both suppose to match

Actual result

The maxlength attribute is set to 500 instead of 250, making the form submission crashes when a textfield contains more then 250 caracters.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants