Author Topic: Date Picker in filter not populating search field  (Read 3890 times)

Webauthor

  • Pro OEM
  • Jr. Member
  • *
  • Posts: 51
    • View Profile
Date Picker in filter not populating search field
« on: June 21, 2019, 02:27:45 am »
Hi, please see this example.  I'm having trouble where the date picker is not populating the input field.

https://martin-dev.samis.io/go/view/pq-grid-test.cfm

Webauthor

  • Pro OEM
  • Jr. Member
  • *
  • Posts: 51
    • View Profile
Re: Date Picker in filter not populating search field
« Reply #1 on: June 21, 2019, 10:34:38 am »
Here is a short video showing what is happening. https://youtu.be/k4MzS2RGPuQ

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Date Picker in filter not populating search field
« Reply #2 on: June 21, 2019, 10:56:47 am »
Same use case works fine in this demo ( Order Date column ) https://paramquery.com/pro/demos52/filter_header_local

Could you please share a jsfiddle / plnkr so that I can examine/debug your code.

Webauthor

  • Pro OEM
  • Jr. Member
  • *
  • Posts: 51
    • View Profile
Re: Date Picker in filter not populating search field
« Reply #3 on: June 21, 2019, 05:57:02 pm »
A better fiddle (stripped out a lot of code not needed for the test).

https://jsfiddle.net/webauthor/mg04by1j/33/
« Last Edit: June 21, 2019, 07:23:34 pm by Webauthor »

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Date Picker in filter not populating search field
« Reply #4 on: June 24, 2019, 09:36:17 am »
Thanks, looking into it.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Date Picker in filter not populating search field
« Reply #5 on: June 26, 2019, 12:17:05 pm »
It's because you have defined format: "" for the column. If you don't need format, then leave it undefined.

Webauthor

  • Pro OEM
  • Jr. Member
  • *
  • Posts: 51
    • View Profile
Re: Date Picker in filter not populating search field
« Reply #6 on: June 28, 2019, 03:09:02 am »
Oh wow, never would have guessed that.  Thank you so much.