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

button type attribute is not render #1252

Closed
quek opened this issue May 21, 2020 · 2 comments · Fixed by #1033
Closed

button type attribute is not render #1252

quek opened this issue May 21, 2020 · 2 comments · Fixed by #1033
Labels

Comments

@quek
Copy link

quek commented May 21, 2020

Problem

button type attribute is not rendered.

html! { <button type="button">{"Button"}</button> }

<button>Button</button>

Expected behavior

<button type="button">Button</button>

Environment:

  • Yew version v0.16.2
  • Rust version v1.43.1
  • web-sys v0.3.39
  • OS: linux
  • Browser chrome
  • Browser version 81.0.4044.138
@quek quek added the bug label May 21, 2020
@jstarry
Copy link
Member

jstarry commented May 21, 2020

Thanks @quek! There is a PR for this: #1033 I hope it gets fixed soon :)

@quek
Copy link
Author

quek commented May 21, 2020

Thanks

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

Successfully merging a pull request may close this issue.

2 participants