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

Version 2.0.4 not working \kartik\datecontrol\DateControl #60

Open
smartycoder opened this issue Nov 30, 2022 · 3 comments
Open

Version 2.0.4 not working \kartik\datecontrol\DateControl #60

smartycoder opened this issue Nov 30, 2022 · 3 comments

Comments

@smartycoder
Copy link

Steps to reproduce the problem:

If \kartik\datecontrol\DateControl is installed with version 2.0.4 - JavaScript error:

Uncaught TypeError: Cannot read properties of undefined (reading 'parentNode')

Additional info

Q A
Yii vesion 2.0.45
PHP version 8.1
Operating system Linux
@simialbi
Copy link
Collaborator

Do you have a stacktrace?

@newadventure079
Copy link

I'm seeing something similar also using a kartik widget

jquery.js:4059 
        
       Uncaught TypeError: Cannot read properties of undefined (reading 'nextElementSibling')
    at Object.next (selector-engine.js:63:24)
    at Dropdown._getMenuElement (dropdown.js:270:27)
    at new Dropdown (dropdown.js:103:23)
    at HTMLDocument.<anonymous> (user-preferences:250:2)
    at mightThrow (jquery.js:3766:29)
    at process (jquery.js:3834:12)

@smartycoder
Copy link
Author

@simialbi

Uncaught TypeError: Cannot read properties of undefined (reading 'parentNode')
    at new Dropdown (dropdown.js:97:34)
    at HTMLDocument.<anonymous>
    at mightThrow (jquery.js:3766:29)
    at process (jquery.js:3834:12)

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

3 participants