Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7602 closed enhancement (fixed)

Ability to stop datepicker from appearing with beforeShow event handler

Reported by: joekarl Owned by:
Priority: minor Milestone: 1.8.16
Component: ui.datepicker Version: 1.8.15
Keywords: Cc:
Blocked by: Blocking:

Description

It would be nice to be able to stop a datepicker from showing by returning false from the beforeShow event handler. Currently this can only be done by destroying the datepicker. I've implemented this feature in this pull request https://github.com/jquery/jquery-ui/pull/378

Change History (5)

comment:1 Changed 5 years ago by gnarf

  • Version changed from git to 1.8.15

comment:2 Changed 5 years ago by scottgonzalez

  • Status changed from new to open
  • Summary changed from Inability to stop datepicker from appearing with beforeShow event handler to Ability to stop datepicker from appearing with beforeShow event handler

comment:3 Changed 5 years ago by Karl Kirch

  • Resolution set to fixed
  • Status changed from open to closed

Datepicker: Added ability to stop datepicker from beforeShow. Fixes #7602 - Ability to stop datepicker from appearing with beforeShow event handler.

Changeset: d14629735648fb10403e38eac2b764ce6adf56c9

comment:4 Changed 5 years ago by Karl Kirch

Datepicker: Added ability to stop datepicker from beforeShow. Fixes #7602 - Ability to stop datepicker from appearing with beforeShow event handler. (cherry picked from commit d14629735648fb10403e38eac2b764ce6adf56c9)

Changeset: 1b5af10bb1f4602885ea7be41262d3cd7e72adc4

comment:5 Changed 5 years ago by scottgonzalez

  • Milestone changed from 1.9 to 1.8.16
Note: See TracTickets for help on using tickets.