Skip to content

Instantly share code, notes, and snippets.

@soen
Created June 14, 2016 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soen/4c1e4bb6298863ea455a161a06d25256 to your computer and use it in GitHub Desktop.
Save soen/4c1e4bb6298863ea455a161a06d25256 to your computer and use it in GitHub Desktop.
using System.ComponentModel;
using Sitecore.Data.Items;
namespace CustomWFFM.CustomFieldTypes.Mvc
{
public class SingleLineTextWithPlaceholderField : Sitecore.Forms.Mvc.Models.Fields.SingleLineTextField
{
[DefaultValue("")]
public string PlaceholderText { get; set; }
public SingleLineTextWithPlaceholderField(Item item) : base(item)
{
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment