How to use TextWrappingModes.PreserveWhitespaceNoWrap On TMP_InputField

When I try to apply TextWrappingModes.PreserveWhitespaceNoWrap to Text in TMP_Imput Field, it forces me back to TextWrappingModes.Normal.