#102515
ivanpeevski
Participant

Hi vaishnavip,

You can enable editing of the cardview fields by setting the editable property of the component.
If editable is set to false, then the fields will be readonly.

You can use the following code, for example, to get the current value of the editable property:

const cardview = document.querySelector(‘smart-card-view’);
let editable = cardview.editable;

Please have a look at our demo page to see an example of editable cards.
You can also read more about the editable property in our documentation:

https://www.htmlelements.com/docs/cardview-api/#toc-editable_boolean

I hope this will be of help!
If you have any other questions, please do not hesitate to contact us again.
Best Regards,
Ivan Peevski
Smart UI Team
https://www.htmlelements.com/