Skip to content

Extended textbox and textarea property editors for Umbraco.

License

Notifications You must be signed in to change notification settings

abjerner/Skybrud.Umbraco.TextBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Skybrud Textbox GitHub license NuGet NuGet Our Umbraco

Skybrud Textbox (or Skybrud.Umbraco.TextBox) is a package that adds new textbox and textarea properties for Umbraco 9. While having similar functionality to the build in property editors, this package adds a few extra features:

  • More visible character limit
    The default property editors in Umbraco only shows the limit when it has been reached, whereas the property editors in this package show the limit right away, making it more visual to the editor that there is a limit.

  • Enforced character limit
    Umbraco will only show the limit when it has been reached or exceeded, but not actually enforce the character limit. Via the config option on the data type, the property editors in this package can be configured to prevent the user from exceeding the character limit.

  • Placeholder text
    Both the textbox and textarea property editors allows setting a placeholder text that will be visible to the user when editing the properties in the backoffice.

  • Fallback text
    An optional fallback text may be set on the data type to be used instead when the property is left blank. The underlying property value converter will make sure the fallback value is returned when this is the case.

Installation

The Umbraco 9 version of this package is only available via NuGet. To install the package, you can use either .NET CLI:

dotnet add package Skybrud.Umbraco.TextBox --version 2.0.4

or the older NuGet Package Manager:

Install-Package Skybrud.Umbraco.TextBox -Version 2.0.4

For Umbraco 8, see the v1/main branch.

Screenshots

Empty properties with the placeholder text visible image

Properties with values below the character limit image

Properties with values above the character limit, but not enforced image

The configuration options (prevalues) of the textarea data type image