Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OEL-1383: Fix slimSelect, only activate when a multiple select exists. #239

Merged
merged 5 commits into from
May 13, 2022

Conversation

escuriola
Copy link
Contributor

brummbar
brummbar previously approved these changes May 12, 2022
Copy link
Contributor

@brummbar brummbar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been wondering if, since we are just adding one class in the template, we should go for something like

{% set attributes = attributes.addClass([
  attributes.hasClass('error') ? 'is-invalid',
]) %}
{% include "@system/select.html.twig" %}

But it seems that in core they went for full copying templates so let's kepe it this way for now.

drishu
drishu previously approved these changes May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants