liferayliferay-7.2

Can not render custom form field in Liferay 7.2


I was migrating a 7.1 DXP portal to 7.2 DXP but I can not bring my custom form field to work. I used the dynamic-data-mapping-form-field-type module as a blueprint. My new field is available inside of the form builder - but when using it, nothing gets rendered. I don't have an errors on build, deploy or in JS console. Unfortunately, there is no blade example for 7.2 yet so that I could not start with a simple example. My question is: how to hook in the field Soy template to render?


Solution

  • It is being implemented in https://issues.liferay.com/browse/LPS-98417 and it is true there is no blade example.

    Meanwhile you can download following example code: