littlegiant / silverstripe-admin-text-length
Installs: 3 317
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 1
Language:JavaScript
Type:silverstripe-vendormodule
Requires
- silverstripe/admin: ^1.0
- silverstripe/vendor-plugin: ^1.0
This package is auto-updated.
Last update: 2024-10-29 05:28:42 UTC
README
Add a text length hint to CMS fields.
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: