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
It is possible to set the value of an element using <@{value} />. This seems to be of the type Cow<'static, str>.
However, there also seems to be no IntoPropValue for various string types to Cow<'static, str>, which makes dealing with it a bit cumbersome.
On the other hand AttrValue seems to have solved this just fine.
Maybe a way to deal with this would be to use IString or simply AttrValue for this use case as well. Maybe support Cow<static, str>` would also make sense.
The text was updated successfully, but these errors were encountered:
It is possible to set the value of an element using
<@{value} />
. This seems to be of the typeCow<'static, str>
.However, there also seems to be no
IntoPropValue
for various string types toCow<'static, str>
, which makes dealing with it a bit cumbersome.On the other hand
AttrValue
seems to have solved this just fine.Maybe a way to deal with this would be to use
IString
or simplyAttrValue
for this use case as well. Maybe supportCow<
static, str>` would also make sense.The text was updated successfully, but these errors were encountered: