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 we create a new Instance using New and we set a property with a boolean state, an error is returned saying that the instance does not have this property.
However, when we transform our 'state' into a string using tostring, it works.
localmyState=State(true)
New'TextLabel' {
-- WorkingText=Computed(function()
returntostring(myState:get())
end)
-- WorkingText=tostring(myState:get())
-- Return [Fusion] The class type 'TextLabel' has no assignable property 'Text'. (ID: cannotAssignProperty)Text=myState:get()
},
The wrong error is therefore sent.
The text was updated successfully, but these errors were encountered:
When we create a new Instance using New and we set a property with a boolean state, an error is returned saying that the instance does not have this property.
However, when we transform our 'state' into a string using tostring, it works.
The wrong error is therefore sent.
The text was updated successfully, but these errors were encountered: