diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index f602f1d0990850be5792d444166433bad92c1c47..10393eea99963fff3b44046900290ec6367a5a9a 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1442,6 +1442,7 @@ function taxonomy_field_widget_form(&$form, &$form_state, $field, $instance, $la '#default_value' => taxonomy_implode_tags($tags), '#autocomplete_path' => $instance['widget']['settings']['autocomplete_path'] . '/' . $field['field_name'], '#size' => $instance['widget']['settings']['size'], + '#maxlength' => 1024, '#element_validate' => array('taxonomy_autocomplete_validate'), );