Krzemo / statamic-charfield

Input with visual feedback for Statamic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Statamic character counting field Statamic 3

StyleCI

An input field or textarea which shows the status of the length with colored feedback on the input element.

CharField

Configuration

Option Description
input_type Choose between input or textarea
min Minimal length
max Maximal length
optimal_min Optional min length for optimal result
optimal_max Optional max length for optimal result
hard_limit Maxlength for input field
  • If the length is outside of min and max the color is red.
  • If the length is between min and max but not between the optimal length dark yellow
  • If the length is in the optional range or between min and max if no optimal length is provided the color is green

About

Input with visual feedback for Statamic

License:MIT License


Languages

Language:PHP 53.3%Language:JavaScript 40.2%Language:CSS 6.5%