Problem/Motivation
I have to use the multiple tokens in the field and My token text size is more than 500 characters. When I add the token, It shows the validation message that the limit is 255 characters.
As in this field, we can add multiple URLs with commas, so It will be good if we can increase the max length of the field.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3424050-2.patch | 1.58 KB | keshavv |
Issue fork schema_metatag-3424050
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
keshavv commentedI have increased the max length to 1024 characters Because it is stored as a blob in the database.
Please review.
Comment #3
damienmckennaLooks good. But I think it needs some API documentation.
This should go into a 3.1.x branch.
Comment #4
s_leu commentedWe should probably also add this new
max_lengthproperty to the Annotation class. Even better would be moving to attributes though.Comment #6
nmangold commentedI created a fork for this issue, added the changes from the patch, and added the new property to the annotation class.