Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Feedback InputField line limit trim removes rich text tag

Discussion in 'UGUI & TextMesh Pro' started by visca_c, Dec 13, 2021.

  1. visca_c


    Apr 7, 2014
    Hello, I'm having issue with TMP InputField line limit. It seems that when the input text goes over line limit, TMP just trims whatever text at the end to fit the line limit again. This would normally be fine, but if the text ends with a rich text tag, part of the tag would get removed as well.
    For example:
    "<b>This is my new line</b>"
    Would be come:
    "<b>This is my"
    I'm currently using some hacky way to get around that, but it would be nice it's handled natively.