ericjgagnon / wickedpicker

A simple jQuery timepicker
http://ericjgagnon.github.io/wickedpicker/
MIT License
93 stars 78 forks source link

Feature Request: Close on user click #1

Closed jkardong closed 8 years ago

jkardong commented 8 years ago

Description

The current procedure to use the WickedPicker is to instantiate the picker, selecting a time, and then clicking the X to close the picker window. When using the picker in a multi-step workflow, it becomes a hinder to the user to add a mouse click to close the picker.

Feature Request Description

After a user instantiates the picker and selects a time, a new function should close and record the time when the user clicks outside the picker window.

Current Behavior

  1. User clicks inside a WickedPicker enabled text field
  2. User selects a time
  3. User clicks the X to close the picker window
  4. Time is set in the text field

    New Behavior

  5. User clicks inside a WickedPicker enabled text field
  6. User selects a time
  7. User clicks somewhere on website outside the picker (moves to next step in workflow)
  8. Picker closes and time is set to text field.
ericjgagnon commented 8 years ago

I added this feature without removing the ability to also close the Wickedpicker by clicking the X. Thanks for the feature request and interest in my project!