Text only
ng-options
/raw/34b59817d93f881818f3912103bc497d/
34b59817d93f881818f3912103bc497d
text
Text only
12
2025-04-04T11:47:24
True
False
False
/api/public/snipt/147297/
ng-options
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1"> 1</a>
<a href="#L-2"> 2</a>
<a href="#L-3"> 3</a>
<a href="#L-4"> 4</a>
<a href="#L-5"> 5</a>
<a href="#L-6"> 6</a>
<a href="#L-7"> 7</a>
<a href="#L-8"> 8</a>
<a href="#L-9"> 9</a>
<a href="#L-10">10</a>
<a href="#L-11">11</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><select ng-model="contact.reason"
</span><span id="L-2"><a name="L-2"></a> ng-options="reason as reason.name for reason in reasons track by reason.id"
</span><span id="L-3"><a name="L-3"></a> name="reason"
</span><span id="L-4"><a name="L-4"></a> required>
</span><span id="L-5"><a name="L-5"></a> </select>
</span><span id="L-6"><a name="L-6"></a>
</span><span id="L-7"><a name="L-7"></a> <select ng-model="application.requested_loan_amount"
</span><span id="L-8"><a name="L-8"></a> ng-options="item.value as item.label for item in requested_loan_amounts"
</span><span id="L-9"><a name="L-9"></a> name="requested_loan_amount"
</span><span id="L-10"><a name="L-10"></a> required>
</span><span id="L-11"><a name="L-11"></a> </select>
</span></pre></div>
</td></tr></table>