Skip to content
Snippets Groups Projects

Issue #3386241: Width configuration in BEF integration

Open Issue #3386241: Width configuration in BEF integration
1 unresolved thread
Open kksandr requested to merge issue/select2-3386241:3386241-width-configuration into 8.x-1.x
1 unresolved thread

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
61 64 '#description' => $this->t('Text to be shown in the Select2 field until a value is selected.'),
62 65 '#default_value' => $this->configuration['advanced']['placeholder_text'],
63 66 ];
67 $form['width'] = [
68 '#type' => 'textfield',
69 '#title' => $this->t('Width'),
70 '#default_value' => $this->configuration['width'],
  • Suggested change
    70 '#default_value' => $this->configuration['width'],
    70 '#default_value' => $this->configuration['width'],
    71 '#description' => $this->t('See possible values from <a href=":link">Select2 documentation page</a>', [':link' => 'https://select2.org/appearance#container-width']),

    We should somehow mention what values are allowed here. I think its easiest just to link to Select2 documentation. Currently it allows element, style, resolve and <value>.

    Edited by Kalle Vuorjoki
  • Please register or sign in to reply
Please register or sign in to reply
Loading