Custom JSLink added to Tasks ListView WebPart breaks Mark Task Complete

I was required to update the styling of the Status column of the Task List ListView WebPart using JSLink.

However, I observed that after adding custom JSLink, the functionality “Mark Task as Complete” by selecting the checkbox stopped working.

After some research figured out this functionality is part of a default JSLink “hierarchytaskslist.js” provided by SharePoint. If we add our custom JSLink, it overwrites the default JSLink.

To fix this we need to reference the default JSLink first Piped by a custom JSLink.

~sitecollection/_layouts/15/hierarchytaskslist.js|~site/SiteAssets/PM/JSLinkCustom.js

Comments are closed.