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

Fix custom properties for browsers #1027

Closed

Conversation

sofiyareverse
Copy link

Custom properties does not work correct for Chrome and Firefox Browsers. It returns 'undefined' and [object Object] from client side.

To reproduce it just add 'data-custom-properties' to your option and check it in Chrome or Firefox like that:
<option value="1" data-custom-properties='<span>Primary</span>'>1</option>

This small change fixes custom properties fields for browsers. Without it only Safari supports custom properties.

  • [ x ] Bug fix (non-breaking change which fixes an issue)
  • [ x ] My code follows the code style of this project.

@christiaan
Copy link

We've ran into this as well. This used to work in 9.0.1

@mtriff
Copy link
Member

mtriff commented Nov 29, 2022

I believe this was resolved by #1001 and should be fixed in the next release.

@mtriff mtriff closed this Nov 29, 2022
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

Successfully merging this pull request may close these issues.

None yet

3 participants