Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I have a normal text field in a content type of max length 255 char. It is set to "autocomplete for existing field data". If I try to enter more than 128 characters, I am unable to. The cursor just stops. It works fine without the autocomplete widget setting. It doesn't necessarily need to autocomplete after that limit, but the user needs to be able to add extra text. Any help much appreciated.
Comment | File | Size | Author |
---|---|---|---|
#5 | 1480526-fix.patch | 664 bytes | bleen |
#1 | 1480526.patch | 2.01 KB | bleen |
Comments
Comment #1
bleen CreditAttribution: bleen commentedThe attached patch should fix this issue ... anyone want to take it for a spin before I commit? (NOTE: 90% of this patch is removing whitespace where needed)
Comment #2
bleen CreditAttribution: bleen commentedThis is the line that really matters
Comment #3
bleen CreditAttribution: bleen commentedoops .. didnt mean to change the status yesterday
Comment #4
bleen CreditAttribution: bleen commentedThis ended up being trivial enough to fix that I went ahead and committed.
Comment #5
bleen CreditAttribution: bleen commentedDOH! .. So of course my impatience got the better of me.
If you used autocomplete widgets using predefined values, then the patch in #1 causes an error.
I've committed this patch to rectify...