HomePhabricator

Allow custom fields to have validation logic

Description

Allow custom fields to have validation logic

Summary:
Ref T418. This is fairly messy, but basically:

  • Add a validation phase to TransactionEditor.
  • Add a validation phase to CustomField.
  • Bring it to StandardField.
  • Add validation logic for the int field.
  • Provide support in related classes.

Test Plan: See screenshot.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T418

Differential Revision: https://secure.phabricator.com/D7028

Details

Provenance
epriestleyAuthored on Sep 18 2013, 10:31 PM
Reviewer
btrahan
Differential Revision
Restricted Differential Revision
Parents
rPa025050e87e0: Fix an issue with `differential.getdiff` when providing a revision ID
Branches
Unknown
Tags
Unknown
Tasks
T418: Integrate CustomField into more interfaces

Event Timeline