Skip to content

[feat] SfpegCardCmp- Hidden field + condition to mode edit #76

@ismailsalam

Description

@ismailsalam

We would like to request two enhancements for the sfpegCardCmp component:

1- If a picklist field that we need to display in the cards depends on other fields that are not displayed, then in edit mode the field remains grayed out, because the dependent field must be in the form.

Solution : For this, I propose to add the field in the config and tag it as hidden=true like {“size”:6,“fields”:[{“name”:“Suivi__c”},{“name”:“Marque__c”, "hidden"=true}]}. Then add in the component’s HTML “<lightning-layout-item key={iterField.name} hidden={iterField.hidden}”.
diseabledField

2 - We would like the display in edit or read-only mode to be calculated based on a condition (e.g., user profile).

Thank you in advance.

Best regards,

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions