<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Serivce Portal Widget add text field in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156441#M813367</link>
    <description>&lt;P&gt;I am adding fields to the Shopping cart in the Angular template large_shopping_cart.html&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a texarea field and this works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;textarea class="form-control" ng-model="c.requesterPhone" &amp;gt;&amp;lt;/textarea&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However a textarea is too big a field for my purpose but I cannot figure out how to change it to a simple one line string field. I tried with "&amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;" but that becomes readonly.&lt;/P&gt;</description>
    <pubDate>Tue, 16 May 2017 05:11:24 GMT</pubDate>
    <dc:creator>tommyjensen</dc:creator>
    <dc:date>2017-05-16T05:11:24Z</dc:date>
    <item>
      <title>Serivce Portal Widget add text field</title>
      <link>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156441#M813367</link>
      <description>&lt;P&gt;I am adding fields to the Shopping cart in the Angular template large_shopping_cart.html&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added a texarea field and this works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;textarea class="form-control" ng-model="c.requesterPhone" &amp;gt;&amp;lt;/textarea&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However a textarea is too big a field for my purpose but I cannot figure out how to change it to a simple one line string field. I tried with "&amp;lt;text&amp;gt;&amp;lt;/text&amp;gt;" but that becomes readonly.&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2017 05:11:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156441#M813367</guid>
      <dc:creator>tommyjensen</dc:creator>
      <dc:date>2017-05-16T05:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Serivce Portal Widget add text field</title>
      <link>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156442#M813368</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Have you tried the rows='1' ?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Standard for textarea is 2, but should be possible to limit to one.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;textarea class="form-control" ng-model="c.requesterPhone" rows="1"&amp;gt;&amp;lt;/textarea&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;You can also find other useful additions here:&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;A href="https://docs.angularjs.org/api/ng/directive/textarea" title="https://docs.angularjs.org/api/ng/directive/textarea"&gt;AngularJS&lt;/A&gt; &lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;With regards&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Anton Lindblad&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 May 2017 05:27:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156442#M813368</guid>
      <dc:creator>felladin</dc:creator>
      <dc:date>2017-05-16T05:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Serivce Portal Widget add text field</title>
      <link>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156443#M813369</link>
      <description>&lt;P&gt;Hi Tommy,&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Change the class as mentioned below.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;textarea class="form-control input-sm" ng-model="c.requesterPhone" &amp;gt;&amp;lt;/textarea&amp;gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;Ujjawal&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 May 2017 05:38:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156443#M813369</guid>
      <dc:creator>Ujjawal Vishnoi</dc:creator>
      <dc:date>2017-05-16T05:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Serivce Portal Widget add text field</title>
      <link>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156444#M813370</link>
      <description>&lt;P&gt;Try below :&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;div&amp;gt;${Enter Description :} &amp;lt;input type="text" size="30" placeholder="Enter description" class="form-control" ng-model="&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;c.requesterPhone&lt;/SPAN&gt;"/&amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 May 2017 05:43:54 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156444#M813370</guid>
      <dc:creator>Inactive_Us1474</dc:creator>
      <dc:date>2017-05-16T05:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Serivce Portal Widget add text field</title>
      <link>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156445#M813371</link>
      <description>&lt;P&gt;It shrinks the field alright but the user can still expand it and type multiple lines. I do not want that.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 May 2017 05:51:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156445#M813371</guid>
      <dc:creator>tommyjensen</dc:creator>
      <dc:date>2017-05-16T05:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Serivce Portal Widget add text field</title>
      <link>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156446#M813372</link>
      <description>&lt;P&gt;Nothing changes with this.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 May 2017 05:51:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156446#M813372</guid>
      <dc:creator>tommyjensen</dc:creator>
      <dc:date>2017-05-16T05:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: Serivce Portal Widget add text field</title>
      <link>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156447#M813373</link>
      <description>&lt;P&gt;Will it work with md-no-autogrow?&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;lt;textarea md-no-autogrow rows="1"&amp;gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 16 May 2017 12:15:40 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156447#M813373</guid>
      <dc:creator>felladin</dc:creator>
      <dc:date>2017-05-16T12:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Serivce Portal Widget add text field</title>
      <link>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156448#M813374</link>
      <description>&lt;P&gt;Probably. But I used Akhil's suggestion&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;PRE __jive_macro_name="quote" class="jive_macro_quote jive_text_macro" data-renderedposition="59.60000228881836_8_1040_41"&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;&amp;lt;div&amp;gt;${Enter Description :} &amp;lt;input type="text" size="30" placeholder="Enter description" class="form-control" ng-model="&lt;/SPAN&gt;&lt;SPAN style="font-family: arial, sans-serif; color: #666666;"&gt;c.requesterPhone&lt;/SPAN&gt;&lt;SPAN style="color: #666666; font-family: arial, sans-serif;"&gt;"/&amp;gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 16 May 2017 20:06:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/serivce-portal-widget-add-text-field/m-p/2156448#M813374</guid>
      <dc:creator>tommyjensen</dc:creator>
      <dc:date>2017-05-16T20:06:47Z</dc:date>
    </item>
  </channel>
</rss>

