Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

167
Views
angular ja ui-select did not show the model values

I am using angular js ui select plugin for my drop down. this is the code

HTML

 <div class="col-sm-8 categoryWrapper">
                            <select ui-select2="{minimumResultsForSearch:10}" ng-model="screenList.approvalGrp"
                                multiple data-placeholder="*Category" class="form-control" id="category" required
                                ng-init="loadApprovalGroups()" ng-options="group.groupName for group in groupList">
                                <option value=""></option>
                            </select>
                            {{screenList.approvalGrp}}
                        </div>

this is the browser view. i prited it. please check this screen shot

ui select to view I need to load model values as the selected values.

this is the view that i exactly want enter image description here

how i do this correctly ?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

You need to reassign your values to the model.

$scope.screenList.approvalGrp = screenList.approvalGrp //[{item1}, {item2}]

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!