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.
Currently the flagged/unflagged message is limited to 128 characters. It would be great if there was a way to extend this.
Thanks in advance for the feature request consideration.
Comment | File | Size | Author |
---|---|---|---|
#9 | max-length-added-2850042-7.patch | 547 bytes | bash321 |
Comments
Comment #2
NWOM CreditAttribution: NWOM commentedComment #3
joachim CreditAttribution: joachim commentedNew features are going on 8.x-4.x.
Comment #4
bash321 CreditAttribution: bash321 as a volunteer and commentedfound fix at http://drupal.org/node/233905
or
Use this module https://www.drupal.org/project/remove_field_label_length_limit
Comment #5
martin107 CreditAttribution: martin107 as a volunteer commented@bash321
The length restriction comes from the textfield type's default value. [ The Flag entity places no restriction on the length! ]
see FlagFormBase::buildForm()
It looks like we need to add a #maxlength variable/property, to one or more of the many message textfields, for example
$form['messages']['flag_message']
In short I think we can provide a solution without using the remove_field_label_length_limit module.
If you would like to write a patch, I will be available to review, and help out where appropriate.
Would you give an sample of the text that you want to enter into the message field? My general advice would be to always keep these messages short but practically speaking - I want to see what you have in mind - very long passages of text will have consequences for the way some pages are themed.
Comment #6
bash321 CreditAttribution: bash321 as a volunteer and commentedYes I would like to write a patch. I have started working on it.
Comment #7
bash321 CreditAttribution: bash321 as a volunteer and commentedComment #8
martin107 CreditAttribution: martin107 as a volunteer commentedHi bash321,
just thought you should know your patch has zero bytes.
If you are generating patch for the first time ... and would like some help... just ask and I will answer any questions, If you sent me a email that is probably best rather than us sorting it out in the issue queue.
Comment #9
bash321 CreditAttribution: bash321 as a volunteer and commented@martin107 this is my 1st issue. Please help me out if some mistake.
Thanks for your support.