Skip to content

isobar-nz/silverstripe-admin-text-length

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SilverStripe Admin Text Length

Add a text length hint to CMS fields.

Admin Text Length

Admin Text Length with a warning

Installation

Installation via composer

$ composer require littlegiant/silverstripe-admin-text-length

Usage

Call ->setLengthHint() with the length required on any TextField.

TextField::create('LimitedLength', 'LimitedLength')->setLengthHint(100)

Contributing

Code guidelines

This project follows the standards defined in: