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
When I make a table with unselectable: true, I get a warning from React:
Warning: Received true for a non-boolean attribute unselectable.
If you want to write it to the DOM, pass a string instead: unselectable="true" or unselectable={value.toString()}.
I'm using React & React-DOM v 17.0.2.
Would you consider changing unselectable to String? Or is there a reason that I should ignore the warning from React? It does appear that unselectable: true works, but unselectable: false doesn't. I'm guessing if the unselectable prop is present at all, it just sets it to not be selectable, despite the value you give it.
If the warning should be ignored, maybe you could consider changing unselectable to Unit, so it's more clear that it's mere presence is what affects the behavior?
The text was updated successfully, but these errors were encountered:
When I make a
table
withunselectable: true
, I get a warning from React:I'm using React & React-DOM v 17.0.2.
Would you consider changing
unselectable
toString
? Or is there a reason that I should ignore the warning from React? It does appear thatunselectable: true
works, butunselectable: false
doesn't. I'm guessing if theunselectable
prop is present at all, it just sets it to not be selectable, despite the value you give it.If the warning should be ignored, maybe you could consider changing
unselectable
toUnit
, so it's more clear that it's mere presence is what affects the behavior?The text was updated successfully, but these errors were encountered: