littlegiant/silverstripe-admin-text-length

There is no license information available for the latest version (2.1) of this package.

Installs: 2 547

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 4

Forks: 1

Language:JavaScript

Type:silverstripe-vendormodule

2.1 2018-07-03 02:29 UTC

This package is auto-updated.

Last update: 2022-06-29 01:20:43 UTC


README

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: