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}”.

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,
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}”.

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,