pnp / List-Formatting

List Formatting Samples for use in SharePoint and Microsoft Lists
https://pnp.github.io/List-Formatting/
MIT License
1.74k stars 833 forks source link

customRowAction Values #611

Closed exwhyz closed 1 year ago

exwhyz commented 1 year ago

When switching to Board View on Microsoft List there doesn't seem to be a way to disable the default click behavior on the cards. Ideally I would like to override the default click behavior and replace that with an explicit click of a custom button added using JSON formatting. It doesn't appear there is a way to disable the default click behavior, the closest is to set the customRowAction value to "setValue" which has other unintended consequences such as a message being displayed indicating "Updated List Item". I am suggesting an option for disabling the click in the specification enum below:

"enum": [ "defaultClick", "disableClick", "executeFlow", "share", "delete", "editProps", "openContextMenu", "setValue" ]

Fedes365 commented 1 year ago

Hello @exwhyz

if you want to suggest new features and improvements, there is a feedback portal with a section dedicated to Microsoft Lists app: https://feedbackportal.microsoft.com/feedback/forum/ab3ad59e-6dd1-ec11-a7b5-0022481f35a4