Ticket #7602 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by gnarf

  • Version changed from git to 1.8.15

comment:2 Changed 3 years ago by scott.gonzalez

  • 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 3 years ago by Karl Kirch

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

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 3 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 3 years ago by scott.gonzalez

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