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

alert-dismissible being ignored by bootstrap-ui #554

Closed
agarzon opened this issue Oct 25, 2017 · 1 comment
Closed

alert-dismissible being ignored by bootstrap-ui #554

agarzon opened this issue Oct 25, 2017 · 1 comment

Comments

@agarzon
Copy link
Contributor

agarzon commented Oct 25, 2017

Hi.

I noticed that alert-dismissible class was not being working in combination wih friendsofcake/bootstrap-ui.

According the doc, the code should be like:

$event->getSubject()->params['class'] = 'alert alert-success alert-dismissible';

But that doesn't work... then I realized that if I pass the class as an array like:

$event->getSubject()->params['class'] = ['alert', 'alert-success', 'alert-dismissible'];

Then it works as should be.

So I guess is just matter of update the documentation or parse the string into array before passing it as params['class']

@ADmad
Copy link
Member

ADmad commented Oct 26, 2017

Can you please submit a PR updating docs to use an array?

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

No branches or pull requests

2 participants