Page MenuHomePhabricator

Allow users to unset "Editor", tailor short error messages properly on settings forms
ClosedPublic

Authored by epriestley on Jun 5 2016, 8:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 27, 11:13 AM
Unknown Object (File)
Sat, May 10, 2:13 PM
Unknown Object (File)
Fri, May 9, 10:10 AM
Unknown Object (File)
Wed, May 7, 7:50 PM
Unknown Object (File)
Wed, May 7, 2:57 AM
Unknown Object (File)
May 2 2025, 8:01 PM
Unknown Object (File)
Apr 25 2025, 8:19 AM
Unknown Object (File)
Apr 23 2025, 2:23 PM
Subscribers
None

Details

Summary

Ref T11098.

  • Allow "Editor" to be set to the empty string.
  • Don't match a validation error to a field unless the actual settings for the field and error match.
Test Plan
  • Tried to set "Editor" to "", success.
  • Tried to set "Editor" to "javascript://", only that field got marked "Invalid".

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Allow users to unset "Editor", tailor short error messages properly on settings forms.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, avivey.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 5 2016, 9:02 PM
This revision was automatically updated to reflect the committed changes.