You need to sign in to do that
Don't have an account?
Big Ears
force:recordEdit - How are we supposed to use/style it?
Dear all,
The Lightning Component reference contains a component called "force:recordEdit" which allows the developer to put en edit page for a record in place. However, it is unstyled and ugly. Is there best practice guidance on how/whether it is supposed to be wrapped in particular divs/classes, etc?
If I inspect the individual input fields / labels / markup etc. that gets rendered, I can see that a lot of the usual CSS classes are included, but don't seem to be having an effect on how the field is rendered.
A field in force:recordEdit looks like this:
I'd like it to look like this:
I've tried wrapping it in the SLDS class, but the classes in the force:recordEdit component don't seem to exist in SLDS, so that can't be the right source.
Any help appreciated.
Andy
The Lightning Component reference contains a component called "force:recordEdit" which allows the developer to put en edit page for a record in place. However, it is unstyled and ugly. Is there best practice guidance on how/whether it is supposed to be wrapped in particular divs/classes, etc?
If I inspect the individual input fields / labels / markup etc. that gets rendered, I can see that a lot of the usual CSS classes are included, but don't seem to be having an effect on how the field is rendered.
A field in force:recordEdit looks like this:
I'd like it to look like this:
I've tried wrapping it in the SLDS class, but the classes in the force:recordEdit component don't seem to exist in SLDS, so that can't be the right source.
Any help appreciated.
Andy
These are the standard functionalities which we can't edit . I had tried earlier with no results .
Thanks
Abhi Batta
All Answers
These are the standard functionalities which we can't edit . I had tried earlier with no results .
Thanks
Abhi Batta
Abhi,
Thank you for responding. What did you end up doing, just re-creating the forms manually?
Andy
- Angelo
- Angelo
https://success.salesforce.com/ideaView?id=0873A000000E3tTQAS