Angular: Custom Value Checkbox

Sometimes the dba won't change a field's datatype in the database which why handle all my databases now days. Just some quick notes for handling custom values to send back to the database for a form post. Using angular 1.5...

<input type="checkbox"
           ng-model="item.selected"
           ng-true-value="'TRUE'"
           ng-false-value="'FALSE'"/>
 - "add quotations because it's an angularjs expression and it also needs to be a constant" 

Resources

Popular posts from this blog

Nginx Best Practices Extended

Installing Windows on Acer chromebook 15 cb3-532

Entity Framework: ToListAynsc & WhereAsync