Can I disable the Timepicker component on the searchBuilder date inputs?

Can I disable the Timepicker component on the searchBuilder date inputs?

PupomioPupomio Posts: 1Questions: 1Answers: 0

Hi All,

Apologies if this is listed somewhere else but I haven't been able to find an answer. I have a number of date fields in my table - it is all working as expected except I would like the searchBuilder date inputs to use only the date picker and not the time picker widgets. I'm sure I've missed a configuration option or am formatting my dates incorrectly (they are formatted as dd/mm/yyyy but I have also tried yyyy-mm-dd).

Many thanks in advance.
Kristy

Answers

  • sandysandy Posts: 913Questions: 0Answers: 236

    Hi @Pupomio,

    I would expect SearchBuilder to show times if the column is using moment and the data within it has time in it as well. Is that right?

    If that is the case and you only want to filter using dates and not include the time then you will need to add some custom conditions.

    As noted in the forum rules, please could you post a link to a running test case showing the issue? Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Thanks,
    Sandy

This discussion has been closed.