Skip to content
This repository was archived by the owner on Feb 27, 2026. It is now read-only.

joaopop5/softselect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#softselect

Único

<softselect ss-many="false" ss-data="vm.data" ss-field="vm.field" ss-model="vm.funcionario"></softselect>

Multiplo

<softselect ss-many="true" ss-data="vm.data" ss-field="vm.field" ss-model="vm.funcionarios"></softselect>

  function _gerarSelect() {

        vm.data = [
            {id: 1, nome: "Jack", cargo: "Programador", contato: {tipo: "residencial", telefone: "12 90101-0202"}},
            {id: 2, nome: "Nunes", cargo: "Programador", contato: {tipo: "residencial", telefone: "12 90101-0303"}},
            {id: 3, nome: "Peixoto", cargo: "Programador", contato: {tipo: "residencial", telefone: "12 90101-0404"}}
        ];

        vm.field = { value: 'id', text: 'nome', orderby: 'nome' };

        vm.funcionario = {};
        vm.funcionarios = [];
    }

About

Select directive with Angular, Bootstrap and Font Awesome.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors