Posted 14 September 2017, 11:48 am EST
Hello,
I’m using wj-input-number for entry only numeric value. I need to fill it compulsory, I have set attribute required as true. When my page was loading, it fetched data from the database to showing on controls. Proper numeric data is stored in Database but on loading of data it generates exception -
EXCEPTION: ** Assertion failed in Wijmo: Number expected. in [null]
HTML code -
<wj-input-number [(value)]=“_note.PayFrequency” [required]=“true” class=“ibox1 rightalign” [format]=“‘n0’”></wj-input-number>
I have also used isRequired attribute.I also get this exception in wj-input-date control, when required set as true, but when I set it as a false then the code runs without error.
I am using (Wijmo 5.20161.138 eval) ,angular 2, Typescript
Thanks
