Hello,
I want a multiline textbox parameter for "write" type. I am unable to update a parameter if the text has new lines in it. It stops accepting from the text once it looks for new line. Below is the example of accepted and unaccepted text:
Accepted: Version: 123-456 Model: Lenovo
Unaccepted: Version: 123-456
Model: Lenovo
Let me know how to add multiline in a textbox in a connector.
Thanks,
Aditi.
Hi Aditiblen,
It’s not possible to have a write parameter that accepts text containing line breaks. For your example, I recommend using two separate parameters: one for the version and another for the model.
For a read parameter, you can use lines="10"
as shown below:
<Measurement>
<Type lines="10">string</Type>
</Measurement>
This makes the textbox larger when reading, and if you set this via a QAction
, you’ll have more control over how the text is displayed — including the use of line breaks.