Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 99250

Model fields not getting initialized

$
0
0

Hello,

 I'm running into an issue where the default values configured on a model are not getting set up if arguments are provided to the constructor. Creating a new model without providing any arguments appears to work just fine. However, it appears that the model skips initializing its fields and default values arguments are provided. See http://dojo.telerik.com/aLOZe for a quick example of this behavior.

 Is there some way to get around this other than by making sure to provide values for all fields?

Thanks!


Viewing all articles
Browse latest Browse all 99250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>