The withCharValidation prop only controls whether or not character validation appears. It would be nice if there was a corresponding withCharCount prop to control the showing/hiding of character count. I currently use a workaround to visually hide the character count when I don't want it but it feels like this should be a first class prop.
|
{props.withCharValidation === false && ( |
The
withCharValidationprop only controls whether or not character validation appears. It would be nice if there was a correspondingwithCharCountprop to control the showing/hiding of character count. I currently use a workaround to visually hide the character count when I don't want it but it feels like this should be a first class prop.field-editors/packages/single-line/src/SingleLineEditor.tsx
Line 93 in 053959d