Skip to content

Selecting the input box should not populate with date #391

Closed
@sgsweb

Description

@sgsweb

The initial click onto the input box should only popup the datepicker box where the user must make a selection to populate the input box. Currently, this is what happens:

  1. The user clicks on the input box.
  2. The datepicker pops up and a default time is placed in the input box.
  3. The user modifies the date by using the datepicker appropriately.

On line 2, a default time should not be placed in the input box. Instead, the user must select a date/time. If the user closes the datepicker without doing so will render the input box empty.

There should be an additional parameter when creating the datetimepicker that prevents placing date/time onto the input box when the user selects the input box to see the datepicker.

$('element').datetimepicker({noDefaultTime:true})

thanks,
sgs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions