The text in MaterialTextField's component is not elided when too long. Sometimes, we also need to limit the number of characters