I've looked around and could only information related to the text area component regarding character count. Is there not a way to show character count for normal text input components?
Solved! Go to Solution.
The character count visual affordance is built into Text Area as the component provides additional UI surface around the input area for display.
While this isn't built-in to Input components, it is simple to determine the character count using events.
In the case of Input Text, you can listen for either the `calciteInputTextInput` or `calciteInputTextChange` event to fire, and use the resultant value to populate your UI as needed:
Calcite Input Text Event Count
The character count visual affordance is built into Text Area as the component provides additional UI surface around the input area for display.
While this isn't built-in to Input components, it is simple to determine the character count using events.
In the case of Input Text, you can listen for either the `calciteInputTextInput` or `calciteInputTextChange` event to fire, and use the resultant value to populate your UI as needed:
Calcite Input Text Event Count