Semantic-UI-React
Semantic-UI-React copied to clipboard
[Search]: bad attributes to the DOM element
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?
👋 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.