👨💻 [maxlength ec] - NazimMertBilgi/nmb-empty-control GitHub Wiki
If you want to specify a maximum character value in a [type=text] field, you need to add the corresponding field (input,textarea).
maxlength-ec="number"
Example
<input type="text" required-ec="warning" maxlength-ec="50" />
The code in the example requires a maximum of 50 characters or less. Otherwise, the button is not activated and will warn you.