This value is too long. It should have 191 characters or less

Hi i am using the api to insert value of Custom Field i created.

Whe i try to insert data to a text field i am getting the message the value should be 191 or less.

I don’t higher limit on the database but i wasn’t able to find how to adjust the limit on the files to make it work.

Anyone have an idea on how to do that?

Ok, a bit messy but i found out that converting the field to textarea instead of just text fix the problem.

I have to change the fields type from the database as well.

Hi,
I think that You can change text field length for custom fields /app/bundels/LeadBundle/Field/SchemaDefinition.php and for the forms /app/bundels/FormBundle/Form/Type/FieldType.php but you also need to change the length in the database.