Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: CDF Date Input Component

  1. #1

    Default CDF Date Input Component

    It's been pointed out to me that the date input component does not update in our dashboards if the date displayed is edited directly in the text box. It will only update if the date is selected from the calendar that appears. Is there some code I could add to the post change or post execution that would make it accept the date that is typed into the field?

    If that is not possible, is there a way to make the text field non-editable?

    Thanks,

    N
    Last edited by Nhoeft; 06-19-2013 at 04:35 PM.

  2. #2
    Join Date
    Nov 2011
    Posts
    1,229

    Default

    you can probably do both in preExecution. locate the text box and, using jquery, just set it to readonly=true or set an onchange listener that will listen for changes in the text box and call Dashboards.fireChange(<dateParameter>, <dateValue>)
    Pedro Vale
    --
    CTools Product Development
    http://www.webdetails.pt

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.