doubt with tag select

Asked

Viewed 53 times

0

I have the following tag select:

<!--select-->
                        <div class="uk-form-row">
                            <div class="uk-grid">
                                <div class="uk-width-medium-1-2">
                                    <div class="uk-input-group">
                                        <span class="uk-input-group-addon"><i class="uk-input-group-icon uk-icon-male"></i></span>
                                        <label>Pessoa</label>
                                        <select required class="md-input" ng-options="item as item.t0053_descricao for item in itemsContas track by item.t0053_id_conta" ng-model="selectedContas"></select>
                                        <span class="uk-input-group-addon">
                                            <a href="javascript:void(0)" style="cursor:pointer !important" ng-click="getAllContas()" data-uk-tooltip="{pos:'right'}" title="Atualizar Colaboradores"><i class="material-icons md-48">refresh</i></a>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!--fim select-->

the result is this: inserir a descrição da imagem aqui

I would like to put an input into select, so that the user can type to search, how could I do this in my code ?

  • 1

    Put this https://select2.github.io/examples.html plugin on and if you want to style it see the documentation is easy! abs

  • Adriano, thanks for the tip, it was just what I wanted. Hug

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.