littlegiant/silverstripe-admin-text-length

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

Installs: 3 318

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Language:JavaScript

Type:silverstripe-vendormodule

2.1 2018-07-03 02:29 UTC

This package is auto-updated.

Last update: 2024-10-29 05:28:42 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: