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: need 'onActionClick' props #2213

Closed
ghost opened this issue Oct 18, 2017 · 1 comment
Closed

Input: need 'onActionClick' props #2213

ghost opened this issue Oct 18, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 18, 2017

Steps to Reproduce

import React from 'react'
import { Input } from 'semantic-ui-react'

const InputExampleAction = () => (
  <Input action='Search' placeholder='Search...' onActionClick={() => alert('action click')} />
)

export default InputExampleAction

Expected
alert should be triggered when clicking Input action.

Result
nothing happens

@ghost ghost changed the title [Input] 'onActionClick' props doesn't work Input: 'onActionClick' props doesn't work Oct 18, 2017
@ghost ghost changed the title Input: 'onActionClick' props doesn't work Input: need 'onActionClick' props Oct 18, 2017
@ghost
Copy link
Author

ghost commented Oct 18, 2017

closed

@ghost ghost closed this as completed Oct 18, 2017
This issue was closed.
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

0 participants