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

Input Placeholder shows &amp if data-placeHolder provided has '&' #41

Open
suresh-MN opened this issue Apr 13, 2022 · 0 comments
Open

Comments

@suresh-MN
Copy link

When the data-placeholder attribute for select tag contains '&' - the input component gets rendered as '&Amp'.

Steps to reproduce

  1. Create a single select component with chosen

  2. Provide the data-placeholder value as 'Choose from A & B'

  3. Input box gets rendered with placeholder value as 'Choose from A & B'

Expected behavior

placeholder value string should escape characters before rendering.

Actual behavior

Placeholder label is not rendered properly.

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