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, Dec 16, 12:21 AM
Unknown Object (File)
Sat, Dec 14, 5:56 AM
Unknown Object (File)
Fri, Dec 13, 4:51 AM
Unknown Object (File)
Thu, Dec 12, 3:10 AM
Unknown Object (File)
Fri, Dec 6, 4:10 AM
Unknown Object (File)
Tue, Dec 3, 9:59 PM
Unknown Object (File)
Tue, Nov 19, 10:41 PM
Unknown Object (File)
Nov 19 2024, 12:54 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).