Semantic-UI-React icon indicating copy to clipboard operation
Semantic-UI-React copied to clipboard

The <Seach> component does not render "avatar" type (rounded) images.

Open tonnoz opened this issue 3 years ago • 3 comments

Feature Request

Problem description

The <Seach> component does not render "avatar" type (rounded) images like the <Dropdown> does instead.

Proposed solution

Would be nice if the Search component would allow avatar type images like the Dropdown component does currently without the need to make it Custom.

Current behavior:

Dropdown:

  • item in options: image: { avatar: true, src: '/images/avatar/small/jenny.jpg' }, render: <img src="/images/avatar/small/jenny.jpg" class="ui avatar image"/>

Search:

  • item in options: image: { avatar: true, src: '/images/avatar/small/jenny.jpg' },
  • render: <img src="/images/avatar/small/jenny.jpg" />

tonnoz avatar Mar 16 '21 09:03 tonnoz

👋 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.

welcome[bot] avatar Mar 16 '21 09:03 welcome[bot]

anyone?

tonnoz avatar Mar 20 '21 06:03 tonnoz

@tonnoz it is unclear what you are trying to implement here. There is no options prop for the <Search> component. Your issue has the Feature Request header... but it sounds like you might be reporting a bug?

I would suggest taking a minute to create a codesandbox that illustrates what you are trying to achieve.

brianespinosa avatar Mar 24 '21 17:03 brianespinosa