Page MenuHomePhabricator

Added placeholder support to custom text fields
ClosedPublic

Authored by talshiri on May 20 2014, 8:09 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 29, 2:33 PM
Unknown Object (File)
Wed, Apr 24, 10:09 PM
Unknown Object (File)
Fri, Apr 19, 8:09 PM
Unknown Object (File)
Thu, Apr 11, 6:03 PM
Unknown Object (File)
Mar 30 2024, 12:33 AM
Unknown Object (File)
Mar 24 2024, 1:39 AM
Unknown Object (File)
Mar 10 2024, 4:33 AM
Unknown Object (File)
Feb 14 2024, 10:39 AM
Subscribers

Details

Reviewers
epriestley
chad
Group Reviewers
Blessed Reviewers
Commits
Restricted Diffusion Commit
rP2133e610480e: Added placeholder support to custom text fields
Summary

placeholder text is pretty useful.

Test Plan

placeholder text is pretty useful. also fully supports not breaking everything.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

talshiri retitled this revision from to Added placeholder support to custom text fields.
talshiri updated this object.
talshiri edited the test plan for this revision. (Show Details)
talshiri added a reviewer: epriestley.
epriestley edited edge metadata.

Let's:

  • Style the placeholders to the degree it's pratical;
  • Can we move the StandardField up a level?
  • Can textarea (remarkupcontrol) support it? If this is a mess, don't worry about it.
  • Mention it in the CustomField documentation.
src/infrastructure/customfield/standard/PhabricatorStandardCustomFieldText.php
57–65 ↗(On Diff #21906)

I think we can move this up a level (to the parent)?

Can textareas also have placeholders?

This revision now requires changes to proceed.May 20 2014, 11:19 PM
talshiri edited edge metadata.

applied change requests

epriestley edited edge metadata.
This revision is now accepted and ready to land.May 22 2014, 4:12 PM
epriestley updated this revision to Diff 21974.

Closed by commit rP2133e610480e (authored by @talshiri, committed by @epriestley).