Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] sfpegCardCmp - Support hidden fields #58

Closed
ismailsalam opened this issue Aug 29, 2023 · 1 comment
Closed

[feat] sfpegCardCmp - Support hidden fields #58

ismailsalam opened this issue Aug 29, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ismailsalam
Copy link

Hello,

Request for desired development:
Add the possibility in the SFPEGCard component to manage hidden fields. For example, manage dependent selection lists whose dependent field should not be displayed

Details of the desired development:
Add the ability to handle a "class" attribute in the display fields definition to inject an SLDS-style class

Example of expected evolution:

Custom metadata "sfpegCard"
"Display Configuration" field:
{
"size": 6,
"fields": [
{
"name": "Suivi__c"
},
{
"name": "canal__c",
"class": "slds-hide"  
}
]
}

@ismailsalam ismailsalam added the enhancement New feature or request label Aug 29, 2023
@pegros pegros changed the title [feat] componentName - Feature title [feat] sfpegCardCmp - Support hidden fields Dec 12, 2023
@pegros pegros self-assigned this Dec 12, 2023
pegros pushed a commit that referenced this issue Dec 12, 2023
@pegros
Copy link
Owner

pegros commented Dec 12, 2023

Feature added in the component via a context global property similar to fields instead of a field definition level one.
Context fields are loaded only when switching to edit mode.

@pegros pegros closed this as completed Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants