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
{{ message }}
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.
As attrVal is in this case 10, the condition Object.keys(attrVal).length > 0 is not satisfied and thus no attribute is inserted, same case when the value is true (my problem on isue #77 ).
I am not sure what that condition is supposed to check so I have been unwilling to submit a pull request.
My suggestion would be to change that check for something that would allow numeric and boolean values (or at least true) and explain in a comment what that check is supposed to do because it is really unclear right now and it prevents us from helping solving issues.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
<textarea rows="10" />
is OK but<textarea rows={10} />
where the attribute value is a number results in not being rendered.The text was updated successfully, but these errors were encountered: