Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 998 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 998 Bytes

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: