When selecting many dates you get an error
"Date cannot be longer than 512 characters but is currently 694 characters long."

Is it possible to increase the limit to be able to select many dates?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ajalan065’s picture

Status: Active » Needs review
FileSize
919 bytes

Changes has been made accordingly.
Hope it helps..

BarisW’s picture

Status: Needs review » Reviewed & tested by the community

Works great. Please commit.

reinvented’s picture

Note that the patch does, indeed, increase the limit of the number of dates that can be selected by 4x, but there's still a limit, so if you need to increase the limit further, increase the number in:

'#maxlength' => 1024,

to a higher value.

  • jackbravo committed 029f9a8 on 7.x-1.x
    Issue #2540964 by ajalan065: Error when selecting many dates
    
jackbravo’s picture

Status: Reviewed & tested by the community » Fixed

Committed, Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.