1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-09 06:11:01 +01:00
phorge-phorge/src/view/form/control
epriestley 948d69364a Manage date control enabled state as part of DateControlValue
Summary: Ref T8024. Allow `DateControlValue` to manage enabled/disabled state, so we can eventually delete the copy of this logic in `DateControl`.

Test Plan:
  - Used Calendar ApplicationSearch queries to observe improved behaviors:
    - Error for invalid start date, if enabled.
    - Error for invalid end date, if enabled.
    - Error for invalid date range, if both enabled.
    - When submitting an invalid date (for example, with the time "Tea Time"), form retains invalid date verbatim instead of discarding information.
  - Created an event, using existing date controls to check that I didn't break anything.

Reviewers: chad, lpriestley, btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T8024

Differential Revision: https://secure.phabricator.com/D12673
2015-05-04 10:08:49 -07:00
..
AphrontFormCheckboxControl.php Minor formatting changes 2014-10-08 08:39:49 +11:00
AphrontFormChooseButtonControl.php Move project icon editing into "Edit Details" 2014-06-26 09:41:07 -07:00
AphrontFormControl.php Fix some odd looking arrays 2015-04-05 22:29:39 +10:00
AphrontFormDateControl.php Manage date control enabled state as part of DateControlValue 2015-05-04 10:08:49 -07:00
AphrontFormDateControlValue.php Manage date control enabled state as part of DateControlValue 2015-05-04 10:08:49 -07:00
AphrontFormDividerControl.php Convert AphrontFormControl to safe HTML 2013-02-05 15:52:46 -08:00
AphrontFormFileControl.php Convert phutil_render_tag(X, Y) to phutil_tag 2013-01-24 19:08:54 -08:00
AphrontFormMarkupControl.php Delete license headers from files 2012-11-05 11:16:51 -08:00
AphrontFormPasswordControl.php Add autocomplete=off to all non-login password forms 2014-08-13 10:06:48 -07:00
AphrontFormPolicyControl.php phutil_utf8_shorten => PhutilUTF8StringTruncator 2014-08-29 15:15:13 -07:00
AphrontFormRadioButtonControl.php Replace some hsprintf() with phutil_tag() and phutil_tag_div() Depends on D7545. 2013-11-09 10:48:19 -08:00
AphrontFormRecaptchaControl.php Convert AphrontFormControl to safe HTML 2013-02-05 15:52:46 -08:00
AphrontFormSelectControl.php Remove application small/hidden tiles 2014-05-29 15:03:49 -07:00
AphrontFormStaticControl.php Convert AphrontFormControl to safe HTML 2013-02-05 15:52:46 -08:00
AphrontFormSubmitControl.php Add a one-click "Scuttle Task" button to Maniphest 2014-03-25 14:20:25 -07:00
AphrontFormTextAreaControl.php Add JS support for replacing Pholio mocks 1:1 2013-07-19 14:07:22 -07:00
AphrontFormTextControl.php Minor formatting changes 2014-10-08 08:39:49 +11:00
AphrontFormTextWithSubmitControl.php Minor formatting changes 2014-10-08 08:39:49 +11:00
AphrontFormTokenizerControl.php Move token rendering into Datasources 2015-04-20 10:06:14 -07:00
AphrontFormTypeaheadControl.php Add a SublimeText-style repository typeahead 2014-05-13 14:08:21 -07:00
PhabricatorRemarkupControl.php Support HTML5 / Javascript chunked file uploads 2015-03-13 11:30:36 -07:00
PHUIFormDividerControl.php Add instructions about READMEs to new Diffusion basic editor 2013-05-24 12:38:27 -07:00
PHUIFormFreeformDateControl.php Add a date range query to Macros 2013-05-30 17:32:12 -07:00
PHUIFormMultiSubmitControl.php Add a one-click "Scuttle Task" button to Maniphest 2014-03-25 14:20:25 -07:00