Commit 1c059d9d authored by vijaycs85's avatar vijaycs85 Committed by phenaproxima

Issue #2998864 by vijaycs85: EntityEmbedDialog doesn't allow selecting entities with long titles

parent ff525f22
......@@ -252,6 +252,7 @@ class EntityEmbedDialog extends FormBase {
'#default_value' => $entity,
'#required' => TRUE,
'#description' => $this->t('Type label and pick the right one from suggestions. Note that the unique ID will be saved.'),
'#maxlength' => 255,
);
if ($bundles = $embed_button->getTypeSetting('bundles')) {
$form['entity_id']['#selection_settings']['target_bundles'] = $bundles;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment