Prevent subform editing on a module's detail's page

Prevent subform editing on a module's detail's page

Hi everyone,

We would like to prevent any editing of the subform data in the : 
  1. Create page
  2. Edit page
  3. Details page (as subform editing is now allowed by the recent UX update)
We are able to prevent editing by making the subform fields read only in the (1) Create page, and the (2) Edit page, thanks to the following client script snippet : 

const subformProduct = ZDK.Page.getSubform("Quoted_Items").getField('Product_Name');
subformProduct.setReadOnly(true);

But we are not able to achieve the same on the (3) Details page.

Does anyone have any idea how to achieve the same on the details page?

Thank you.