#62926 by Richard Eriksson, Increase maximum length of the free-tagging textbox to 255 characters.
parent
168a3dcd8e
commit
a5263bd284
|
@ -648,7 +648,7 @@ function taxonomy_form_alter($form_id, &$form) {
|
||||||
'#default_value' => $typed_string,
|
'#default_value' => $typed_string,
|
||||||
'#autocomplete_path' => 'taxonomy/autocomplete/'. $vocabulary->vid,
|
'#autocomplete_path' => 'taxonomy/autocomplete/'. $vocabulary->vid,
|
||||||
'#weight' => $vocabulary->weight,
|
'#weight' => $vocabulary->weight,
|
||||||
'#maxlength' => 100,
|
'#maxlength' => 255,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -648,7 +648,7 @@ function taxonomy_form_alter($form_id, &$form) {
|
||||||
'#default_value' => $typed_string,
|
'#default_value' => $typed_string,
|
||||||
'#autocomplete_path' => 'taxonomy/autocomplete/'. $vocabulary->vid,
|
'#autocomplete_path' => 'taxonomy/autocomplete/'. $vocabulary->vid,
|
||||||
'#weight' => $vocabulary->weight,
|
'#weight' => $vocabulary->weight,
|
||||||
'#maxlength' => 100,
|
'#maxlength' => 255,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue