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

ExpandColumn on 3.5.0 disabled sub javascript bindings (?) #1055

Open
3 of 6 tasks
tsdogs opened this issue Jan 26, 2023 · 0 comments
Open
3 of 6 tasks

ExpandColumn on 3.5.0 disabled sub javascript bindings (?) #1055

tsdogs opened this issue Jan 26, 2023 · 0 comments

Comments

@tsdogs
Copy link

tsdogs commented Jan 26, 2023

Prerequisites

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

Steps to reproduce the issue

  1. Create an expand column with a button
  2. Bind a click event to the button class (es. $('.btn-class).on('click',function() {... )
  3. The event does not get binded (or gets unbinded)

Expected behavior and actual behavior

It should leave the event as is

When I follow those steps, I see...
Looking at the result in the page all the buttons in the expand detail have only the yii js click event

I was expecting...
To have 2 functions binded to the button (1 from yii e 1 from my bind)

Rolling back to 3.4.6 restores the correct behaviour

it might be related to #1021 but it defenatly is not a browser cache or anything (I have cleaned cache, assets and browser cache)

Environment

Browsers

  • [x ] Google Chrome
  • [ x] Mozilla Firefox
  • Internet Explorer
  • Safari

Operating System

  • Windows
  • Mac OS X
  • Linux
  • Mobile

Libraries

  • jQuery version: 3.6.3
  • yii2-grid version: 3.5.0
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