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

Icon is not working when using multiple action #4421

Open
sunjeen opened this issue Mar 3, 2023 · 1 comment
Open

Icon is not working when using multiple action #4421

sunjeen opened this issue Mar 3, 2023 · 1 comment

Comments

@sunjeen
Copy link

sunjeen commented Mar 3, 2023

Bug Report

Steps

  1. use this example's code to import input component
    const options = [
    { key: 'all', text: 'All', value: 'all' },
    { key: 'articles', text: 'Articles', value: 'articles' },
    { key: 'products', text: 'Products', value: 'products' },
    ]

const InputExampleActions = () => (
<Input
type='text'
placeholder='Search...'
action
icon={<Icon link name={'search'} />}
iconPosition='left'

<input />
<Select compact options={options} defaultValue='articles' />
<Button type='submit'>Search</Button>
)

Expected Result

after added icon, it should appear as expected

Actual Result

With added multiple action , the Icon props is not working

Version

2.1.4

Testcase

https://codesandbox.io/s/semantic-ui-react-forked-f5wyu1

@welcome
Copy link

welcome bot commented Mar 3, 2023

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

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