appsmith icon indicating copy to clipboard operation
appsmith copied to clipboard

[Bug]: API - New line is lost in a binding, on navigating to a different page and getting back

Open btsgh opened this issue 3 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Description

When in an API, I bind Value 2 of Headers to say an input widget and the binding has new line characters included, on navigating to a different page and coming back to this API, I see that the new line is lost within the binding

Steps To Reproduce

  1. Drag and drop a widget, say Input1 on Page1
  2. Create a new api API1, and in the headers tab, Value2 section, enter a binding like this - {{ Input1.text }}
  3. Navigate to say Page2 and then come back to Page1 and open this API1
  4. Note that Value1 has curly braces automatically entered and Value2 has lost the new line characters.

Public Sample App

No response

Issue video log

https://ddpa7mfuvv.vmaker.com/record/RsXhctN9FuQ8cBNb

Version

Production

btsgh avatar Dec 07 '22 09:12 btsgh