Open alexberazouski opened 7 years ago
This is known "issue". I'm not sure whether this is issue or not.
It's a consequence of a way that we currently use for propagating model properties from the server side to the client side: their values are set to null
(every model property value is set to null
from the very beginning).
It might be that this is genuine issue and we shouldn't do it.
Then we have to invent some another way to inform client about all available model properties (this is an implementation detail).
Here I can add one thing: it happens only with Model properties.
You can have any number of properties for your Element
(plain properties). The properties with the names defined in the Model are the same properties.
But other Element
properties behaves differently:
In this specific issue the workaround is : set the same value on the server side.
But this issue has sense and I think we need to fix it later on.
This is strongly related to #2897. May be it's even duplicate of it. Though the property here is set in a different way than in the #2897.
I have the following component:
The problem is when I have on server-side a TemplateModel associated with this component with declared
void setSomeProperty(String someProperty)
method then on client 'Some value' rapidly disappears.