appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
32.41k stars 3.51k forks source link

[Bug]: JSON form splits keys to multiple lines when it should not #32230

Open eedwardsSGS opened 3 months ago

eedwardsSGS commented 3 months ago

Is there an existing issue for this?

Description

When having a JSON from with some keys, it splits it to to lines for no reason. i.e. "For Sale" is split to two lines even though it is wide enough to fit "Manufacture". There appears to be no way to control this.

Appsmith support requested I open this bug in Discord.

Steps To Reproduce

  1. Create a new test app
  2. Add a JSON form widget
  3. set the source data to {{{Manufacture: false, "For Sale": true}}}
  4. Notice that for sales is split into two lines

Public Sample App

No response

Environment

Production

Severity

Low (Inconsistent UI/UX)

Issue video log

No response

Version

Self Hosted - 1.13

akshat8605 commented 3 months ago

Hi, Can this be assigned to me I have already fixed this issue on my local.

Screenshot 2024-04-01 at 10 12 26 PM
Nikhil-Nandagopal commented 3 months ago

@akshat8605 yeah please go for it

akshat8605 commented 3 months ago

Hi @Nikhil-Nandagopal Please review the change.

akshat8605 commented 3 months ago

Hi @ashit-rath, I have synced it with the latest branch. Please review the changes.

ashit-rath commented 3 months ago

@akshat8605 Thank you for the update