trailheadapps / lwc-recipes

A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform

Home Page:https://developer.salesforce.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

recordFormDynamicContact - odd fields / multiple columns

acann22 opened this issue · comments

Summary

Using the lightning-record-form syntax, if you have an odd number of fields compared to the number of columns, the trailing field on the left hand side stretches across all the columns which isn't the best UI/UX. Would love to see this address so the styling is consistent.

Suggested Solution

No response

Alternative Solutions

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Welcome! 👋

Thank you for posting this issue. 🙇🏼‍♂️ We will come back to you latest within the next 48h (working days). Stay tuned!

Thanks for pointing this @acann22. This is the default behavior of the lightning-record-form. The design decision might be to avoid the white space, but as you said, if it just fills column one, it looks good. We will raise an internal ticket with the Base components team.