You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug when pasting text into a textfield that contains a newline.
When you have a Pashua form with the following control:
name.type = textfield
button.type = defaultbutton
and you copy/paste the following text into it (only select one newline):
Line one
Line two
When pasting you see the text Line two in the textfield. When you leave the field by pressing the tab-key, you see 'Line one`. Now press the OK button. Pashua will return the following text:
name=Line one
Line two
button=1
Expected behaviour
For starters, when pasting the newlines should be removed (or replaced by spaces).
Also, a control should never output text with multiple lines. When not converting new lines, Pashua should return this (like a textbox control would handle it:
name=Line one[return]Line two
button=1
The text was updated successfully, but these errors were encountered:
There is a bug when pasting text into a textfield that contains a newline.
When you have a Pashua form with the following control:
and you copy/paste the following text into it (only select one newline):
When pasting you see the text
Line two
in the textfield. When you leave the field by pressing the tab-key, you see 'Line one`. Now press the OK button. Pashua will return the following text:Expected behaviour
For starters, when pasting the newlines should be removed (or replaced by spaces).
Also, a control should never output text with multiple lines. When not converting new lines, Pashua should return this (like a
textbox
control would handle it:The text was updated successfully, but these errors were encountered: