<?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>topic Re: Clearing date from date picker in ArcGIS Dashboards Questions</title>
    <link>https://community.esri.com/t5/arcgis-dashboards-questions/clearing-date-from-date-picker/m-p/717075#M3842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/384549"&gt;Muhammad Yasir&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used to be able to clear the date input&amp;nbsp;by using datetextbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In widget.html&lt;/P&gt;&lt;PRE class="line-numbers language-markup"&gt;&lt;CODE&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;input&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;data-dojo-type&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;dijit/form/DateTextBox&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;data-dojo-attach-point&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;sourceDate&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In widget.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sourceDate&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;setValue&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing to take note is you need to import widgettemplatemixin and better to call this.inherited(arguments) method at post create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best for that kind of question is by sharing your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2020 02:57:43 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-02-03T02:57:43Z</dc:date>
    <item>
      <title>Clearing date from date picker</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/clearing-date-from-date-picker/m-p/717074#M3841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the date selector in my operation dashboard. Within date selector, I am using date picker with input type "Range". The problem I am facing is that I couldn't see any way to clear the dates from date picker when I want to go back to normal view. I have to refresh the page every time. Is there any way to clear the selected dates from the date picker?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Feb 2020 22:50:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/clearing-date-from-date-picker/m-p/717074#M3841</guid>
      <dc:creator>MuhammadYasir</dc:creator>
      <dc:date>2020-02-02T22:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing date from date picker</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/clearing-date-from-date-picker/m-p/717075#M3842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/384549"&gt;Muhammad Yasir&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used to be able to clear the date input&amp;nbsp;by using datetextbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In widget.html&lt;/P&gt;&lt;PRE class="line-numbers language-markup"&gt;&lt;CODE&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;input&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;data-dojo-type&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;dijit/form/DateTextBox&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;data-dojo-attach-point&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;sourceDate&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In widget.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-javascript line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;this&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;sourceDate&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;setValue&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing to take note is you need to import widgettemplatemixin and better to call this.inherited(arguments) method at post create.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The best for that kind of question is by sharing your code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 02:57:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/clearing-date-from-date-picker/m-p/717075#M3842</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-02-03T02:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing date from date picker</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/clearing-date-from-date-picker/m-p/717076#M3843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should I suppose to change the json file??? Sorry I didnt get it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 03:01:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/clearing-date-from-date-picker/m-p/717076#M3843</guid>
      <dc:creator>MuhammadYasir</dc:creator>
      <dc:date>2020-02-03T03:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing date from date picker</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/clearing-date-from-date-picker/m-p/717077#M3844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I never looked at widget.html and js file. Could you please guide me where are these files located and how can we make changes???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 03:02:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/clearing-date-from-date-picker/m-p/717077#M3844</guid>
      <dc:creator>MuhammadYasir</dc:creator>
      <dc:date>2020-02-03T03:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Clearing date from date picker</title>
      <link>https://community.esri.com/t5/arcgis-dashboards-questions/clearing-date-from-date-picker/m-p/717078#M3845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp;Does selecting the whole date field and hitting delete on your keyboard work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/480148_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2020 17:31:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-dashboards-questions/clearing-date-from-date-picker/m-p/717078#M3845</guid>
      <dc:creator>VivekMalleshappa</dc:creator>
      <dc:date>2020-02-03T17:31:56Z</dc:date>
    </item>
  </channel>
</rss>

