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

256
Views
Mostrar opción predeterminada diferente a value="" en <select> AngularJS

Estoy configurando dos opciones adicionales diferentes de la matriz de controladores en mi archivo html de esta manera.

 <select class="custom-select" name="facilityId" ng-model="data.general.facilityId" ng-model-options="{ getterSetter: true, updateOn: 'default blur', debounce: { 'default': 500, 'blur': 0 } }" > <option value="">all options</option> <option value="0">default option</option> <option ng-repeat="facility in facilityOptions" value="{{facility.id}}>{{facility.name }}</option> </select>

Necesito configurar la "opción predeterminada" como la seleccionada, pero en cualquier ocasión, "todas las opciones" se configuran como seleccionadas por AngularJS, supongo, anteriormente usé la condición ng-selected y ng-init asignando un valor.

 AngularJS 1.5.11

¿Algunas ideas? Gracias por adelantado

about 4 years ago · Santiago Gelvez
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!