ui-select - How to put attribute "name"

1

Problem here to vary, someone has worked with ui-select, I'm using a project here in a client registration form to select states and cities, it's working beauty, but it does not accept the "name" attribute and nor "required" so that I can pick it up later when submitting the form.

This is the example use of this module: link

    
asked by anonymous 22.06.2015 / 13:46

1 answer

1

On the value you can get it by ng-model when submitting. Now regarding the required case it really does not understand I would indicate to you to create a directive that does the validation

    
29.06.2015 / 18:57