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

Error pack #361

Open
12 of 17 tasks
WinterSilence opened this issue May 5, 2022 · 0 comments
Open
12 of 17 tasks

Error pack #361

WinterSilence opened this issue May 5, 2022 · 0 comments

Comments

@WinterSilence
Copy link

Prerequisites

  • I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
  • The issue still exists against the latest master branch of yii2-export.
  • This is not an usage question. I confirm having gone through and read the documentation and demos.
  • This is not a general programming / coding question. (Those should be directed to the webtips Q & A forum).
  • I have attempted to find the simplest possible steps to reproduce the issue.
  • I have included a failing test as a pull request (Optional).

Errors:

  1. can't replace your default classes in class attribute, merged classes generate invalid style:
<?= ExportMenu::widget([
'dropdownOptions' => ['class' => ['btn-secondary']]
]) ?>

generate class="btn btn-secondary btn-outline-secondary dropdown-toggle".
2. you ignore ExportMenu::$caption

Expected behavior and actual behavior

...

Environment

Browsers

  • Google Chrome
  • Mozilla Firefox
  • Internet Explorer
  • Safari

Operating System

  • Windows
  • Mac OS X
  • Linux
  • Mobile

Libraries

  • jQuery version: no matter
  • yii2-export version: master

Isolating the problem

  • This bug happens on the demos page
  • The bug happens consistently across all tested browsers
  • This bug happens when using yii2-export without other plugins.
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

1 participant