the placeholder on the textbox displays 0 instead of the text

0
i have a textbox whose placeholder should show a text that says “please enter….” but it keeps displaying “0” until i reset.  is it because the entity path attribute is an integer ? How can we fix it?    
asked
2 answers
1

Does that attribute have a default value set on the domain model?

New instances of that entity will automatically fill that attribute with the value 0. If you change it, objects created in the feature will have the new default value (e.g. empty). If the attribute is empty it will show the placeholder text

answered
1

In your domain model, what is the default value of that attribute? When created, integers and decimals have a default value of zero unless you change/empty it. This would cause the behavior you noted because the placeholder would only display if the value of the field is empty, which I’m guessing is what your Reset button does.

answered