Skip to Main Content
Spotfire Ideas Portal
Status Future Consideration
Product Spotfire
Categories Text Area
Created by Guest
Created on Feb 10, 2016

Display date picker for date input controls

No description provided
  • Attach files
  • Guest
    Reply
    |
    Nov 22, 2021

    All modern web browsers have build-in support for input fields of type date and datetime-local and provide a calendar date picker then. There is even support for week, year and time.

    The document property control for Text Area should use date and datetime-local and not input type text, where properties are of type date and then automatically everybody would benefit from the calendar date picker control.

    At the moment we do a work around setting the input type to date via JavaScript and would like to get away from this custom code. The element ID in the script is the Spotfire control ID in the Text Area.

    <script type="text/javascript">
    document.getElementById("4968a87b9bf441d6b6b3bba0002cc624").type = "date";
    </script>

  • Guest
    Reply
    |
    May 26, 2020

    There was a way to do this using JQueryUI pretty easily, but that's been deprecated in 10.x. This is basic HTML5 stuff in 2020!

  • Guest
    Reply
    |
    Jun 3, 2016

    I can't believe this is not been done already specially given that there isn't any technical limitations to do this in HTML5 and there are plenty of free samples around.