Custom form fields for Liferay 7.3 built using React.
If you don't already have blade installed, you can find steps for that here.
- Update the
liferay.workspace.home.dir=/path/to/liferay/home
property to point towards your liferay home directory. - From the root directory run
blade gw deploy
.
$ blade init -v dxp-7.3-ga1 custom-liferay-ddm-form-fields
$ cd custom-liferay-ddm-form-fields
;
$ blade create \
-t form-field \
-c CharacterLimitedText \
--js-framework react \
-p com.liferay.dynamic.data.mapping.form.field.type.internal.character.limited.text \
character-limited-text
At this point the field is ready to deploy.
To add custom settings for fields you will need to add additional files. This can be seen in the commit Add logic for character limited text field
.
Pull requests welcome.
Releases are handled using Github actions.
To release a new version do the following:
-
Create a git tag.
git tag v0.0.1
-
Push the tag to Github.
git push origin v0.0.1
The Github action will be triggered and will attach all assets to the release.