Skip to main content

In my application i, I have been using optionoptions for the scroll down menu. In place of this, I want to use ng-option such that the values come from jsjavascript file. I even need help with angular js code for this. Here is my htmlHTML code with options values. NeedI need some help..

 <div class="form-group">
      <label class="control-label col-lg-2 pull-left">Quality<span class="Imp">*</span></label>
          <div class="col-lg-8">
               <select id="Quality" name="Quality" class="form-control" style="width:170px" ng-model="vm.EditRef_UI.Quality" tooltip="Quality is required"                                                      
            tooltip="Quality is required" tooltip-placement="top" required>

                  <option selected value="Satisfactory">Satisfactory</option>
                   <option value="NotSatisfactory">Not Satisfactory</option>
                </select>
           </div>
</div>
  

In my application i have been using option for the scroll down menu. In place of this I want to use ng-option such that the values come from js file. I even need help with angular js code for this. Here is my html code with options values. Need some help..

 <div class="form-group">
      <label class="control-label col-lg-2 pull-left">Quality<span class="Imp">*</span></label>
          <div class="col-lg-8">
               <select id="Quality" name="Quality" class="form-control" style="width:170px" ng-model="vm.EditRef_UI.Quality" tooltip="Quality is required"                                                                    tooltip-placement="top" required>

                  <option selected value="Satisfactory">Satisfactory</option>
                   <option value="NotSatisfactory">Not Satisfactory</option>
                </select>
           </div>
 

In my application, I have been using options for the scroll down menu. In place of this, I want to use ng-option such that the values come from javascript file. I even need help with angular js code for this. Here is my HTML code with options values. I need some help.

<div class="form-group">
    <label class="control-label col-lg-2 pull-left">Quality<span class="Imp">*</span></label>
    <div class="col-lg-8">
        <select id="Quality" name="Quality" class="form-control" style="width:170px" ng-model="vm.EditRef_UI.Quality" 
            tooltip="Quality is required" tooltip-placement="top" required>

            <option selected value="Satisfactory">Satisfactory</option>
            <option value="NotSatisfactory">Not Satisfactory</option>
        </select>
    </div>
</div>
 
added 48 characters in body
Source Link
beginner
  • 303
  • 1
  • 10
  • 31

In my application i have been using option for the scroll down menu. In place of this I want to use ng-option such that the values come from js file. I even need help with angular js code for this. Here is my html code with options values. Need some help..

 <div class="form-group">
      <label class="control-label col-lg-2 pull-left">Quality<span class="Imp">*</span></label>
          <div class="col-lg-8">
               <select id="Quality" name="Quality" class="form-control" style="width:170px" ng-model="vm.EditRef_UI.Quality" tooltip="Quality is required"                                                                    tooltip-placement="top" required>

                  <option selected value="Satisfactory">Satisfactory</option>
                   <option value="NotSatisfactory">Not Satisfactory</option>
                </select>
           </div>

In my application i have been using option for the scroll down menu. In place of this I want to use ng-option such that the values come from js file. Here is my html code with options values. Need some help..

 <div class="form-group">
      <label class="control-label col-lg-2 pull-left">Quality<span class="Imp">*</span></label>
          <div class="col-lg-8">
               <select id="Quality" name="Quality" class="form-control" style="width:170px" ng-model="vm.EditRef_UI.Quality" tooltip="Quality is required"                                                                    tooltip-placement="top" required>

                  <option selected value="Satisfactory">Satisfactory</option>
                   <option value="NotSatisfactory">Not Satisfactory</option>
                </select>
           </div>

In my application i have been using option for the scroll down menu. In place of this I want to use ng-option such that the values come from js file. I even need help with angular js code for this. Here is my html code with options values. Need some help..

 <div class="form-group">
      <label class="control-label col-lg-2 pull-left">Quality<span class="Imp">*</span></label>
          <div class="col-lg-8">
               <select id="Quality" name="Quality" class="form-control" style="width:170px" ng-model="vm.EditRef_UI.Quality" tooltip="Quality is required"                                                                    tooltip-placement="top" required>

                  <option selected value="Satisfactory">Satisfactory</option>
                   <option value="NotSatisfactory">Not Satisfactory</option>
                </select>
           </div>
Source Link
beginner
  • 303
  • 1
  • 10
  • 31

using ng-option to display dropdown values

In my application i have been using option for the scroll down menu. In place of this I want to use ng-option such that the values come from js file. Here is my html code with options values. Need some help..

 <div class="form-group">
      <label class="control-label col-lg-2 pull-left">Quality<span class="Imp">*</span></label>
          <div class="col-lg-8">
               <select id="Quality" name="Quality" class="form-control" style="width:170px" ng-model="vm.EditRef_UI.Quality" tooltip="Quality is required"                                                                    tooltip-placement="top" required>

                  <option selected value="Satisfactory">Satisfactory</option>
                   <option value="NotSatisfactory">Not Satisfactory</option>
                </select>
           </div>