default value for a property and validate the property with a constraint
Hello,
Can somebody answer these questions:
How to set a default value for a property? i tried following this link but it didn't really worked (https://dslfoundry.wordpress.com/2016/10/12/how-to-add-default-to-a-property-in-a-concept/)
How to validate the property with a constraint ?
How to restrct a cell in editor to take only integer values?
If we have a property used by multiple cells in editor..how to restrict the property to that particular cell ?
Thanks in advance
Please sign in to leave a comment.
!. Set the property to the default in the constructor (the behavior aspect)
2. Set a validator for the property in the constraints aspect
3. Make the property of integer type in the structure aspect
@ Vaclav Pech: Thank you