You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed react-star-rating from by running npm install react-star-rating -S and the current version as of the time of writing is 1.4.2 - it appears as "react-star-rating": "^1.4.2" in my package.json file. By having react datepicker in my code:
upon further digging, I found that there is a difference between the current source code and the code that is downloaded via npm and it is in line 324 of src/StarRating.jsx where the input type is number for the code downloaded via npm and hidden for the github code. Changing number to hidden and recompiling the code has gotten rid of this issue for me.
For those who are simply looking for a workaround, you could add the following css:
I installed
react-star-rating
from by runningnpm install react-star-rating -S
and the current version as of the time of writing is 1.4.2 - it appears as"react-star-rating": "^1.4.2"
in mypackage.json
file. By having react datepicker in my code:The following is produced
upon further digging, I found that there is a difference between the current source code and the code that is downloaded via npm and it is in line 324 of
src/StarRating.jsx
where the input type isnumber
for the code downloaded via npm andhidden
for the github code. Changingnumber
tohidden
and recompiling the code has gotten rid of this issue for me.For those who are simply looking for a workaround, you could add the following css:
where name is whatever you named your
StarRating
component.The text was updated successfully, but these errors were encountered: