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

Cannot pass name props to Search component #1437

Closed
ivosabev opened this issue Mar 10, 2017 · 2 comments
Closed

Cannot pass name props to Search component #1437

ivosabev opened this issue Mar 10, 2017 · 2 comments

Comments

@ivosabev
Copy link

Passing prop name to Search should set it as an attribute to the <input>, not the <div>.

Code

<Search name="foo" />

Expected Result

<div class="ui fluid search">
  <div class="ui icon input">
    <input name="foo" type="text" placeholder="Name" value="" class="prompt" tabindex="0" autocomplete="off">
...

Actual Result

<div name="foo" class="ui fluid search">
  <div class="ui icon input">
    <input type="text" placeholder="Name" value="" class="prompt" tabindex="0" autocomplete="off">
...

Version

0.63.5

@layershifter
Copy link
Member

@ivosabev Thanks for report 👍 I've made PR for this.

@lexarion1
Copy link

Hello. What about Dropdown? The same as with search, will be great to pass name attribute

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

No branches or pull requests

4 participants