Skip to content
New issue

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

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

Already on GitHub? # to your account

Cannot retrieve the value when title is set with dynamic data #2877

Open
sharkx opened this issue Sep 18, 2024 · 1 comment
Open

Cannot retrieve the value when title is set with dynamic data #2877

sharkx opened this issue Sep 18, 2024 · 1 comment
Labels

Comments

@sharkx
Copy link

sharkx commented Sep 18, 2024

JSFiddle : https://jsfiddle.net/stefanu/np8e1uwt/16/

When the page is loaded, the options are updated, the desired value is set, but when I try to retrieve it later (demonstrated by a delay), it is lost.

The problem seems to be the title attribute (set either as title, data-title or by script); to make it easier to play with the fiddle I left the script version. See line 10 of the script.

Simply put, when there's a title set, the value is lost... And I kind of need the title. Am I doing something wrong or this is really an issue ?

@sharkx sharkx added the bug label Sep 18, 2024
@AdrienGiboire
Copy link

It happens because you call destroy

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants