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

[Search]: bad attributes to the DOM element

Open netbull opened this issue 4 years ago • 1 comments

Currently the Search module is hardcoded to work only with id, title, image and price props for each result item. If the result item have additional they are assigned to the DOM element as html attributes...

https://github.com/Semantic-Org/Semantic-UI-React/blob/c82836802975f99eddfdd78b6b72ab6110bafa4a/src/modules/Search/SearchResult.js#L52

Question: is there any specific reason to hardcode this module with there props only?

netbull avatar Nov 18 '20 12:11 netbull

👋 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 Nov 18 '20 12:11 welcome[bot]