Vote count: 0
I'm using bootstrap select with angular in my page, but it seems buggy. The select is populated with email addresses, and models a scope variable ($scope.task.email). I want this to start null, which means the default text will display ("Select an address") and task.email won't have a value.
However, if I don't set a value for the variable (initializing it as ""), an extra empty option is shown in the select, and it messes up indexes for other options, so that if you click one, the value below it in the list is selected. Any ideas on how to solve this?
asked 22 secs ago
Boostrap Select and Angular Issue
Aucun commentaire:
Enregistrer un commentaire