Skip to content

bigfork/silverstripe-admin-text-length

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 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:

About

silverstripe-admin-text-length

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 44.7%
  • PHP 32.3%
  • SCSS 18.3%
  • Makefile 4.7%