javascript - Data not binding properly in angular in list box -


i using below code data in list box.

            <div class="form-group">                 <label class="control-label col-md-6">year built</label>                 <div class="col-md-6">                     <select ng-model="property.yearbuilt"                             id="yearbuilt"                             rb-default-year="currentyear"                             ng-options="year.yearfourdigit year.yearfourdigit year in years">                         <option value="">--select--</option>                     </select>                 </div>             </div> 

but somoehow data not binding html. getting blank list box 50% of times.

can please me in this?

i wanted post picture showing seeing, don't have 10 in reputation able that.


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -