You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the configuration feature of portlets, doesn't output the required type.
For these configurations:
{
"system": {
},
"portletInstance": {
"fields": {
"a-float": {
"type": "float",
"name": "A float",
"description": "A floating point number",
"default": "1.1"
},
"a-number": {
"type": "number",
"name": "A number",
"description": "An integer number",
"default": "48"
},
"a-string": {
"type": "string",
"name": "A string",
"description": "An arbitrary length string",
"default": "this is a string"
},
"a-boolean": {
"type": "boolean",
"name": "A boolean",
"description": "A true / false value",
"default": true
},
"an-option": {
"type": "string",
"name": "An option",
"description": "A restricted values option",
"required": true,
"default": "A",
"options": {
"A": "Option a",
"B": "Option b"
}
}
}
}
}
... the following configuration is available in the portlet:
{
"portletInstance": {
"a-string": "this is a string",
"a-boolean": "true",
"a-float": "1.1",
"a-number": "48",
"an-option": "A"
},
"system": {}
}
Add an option to the liferay npm bundler improved which corrects the output according to the given types and, as well, adds the default values, even when the config hasn't been saved.
Maybe add a flag like --correct-configuration or an option to the .npmbundlerrc
The text was updated successfully, but these errors were encountered:
Currently, the configuration feature of portlets, doesn't output the required type.
For these configurations:
... the following configuration is available in the portlet:
Add an option to the liferay npm bundler improved which corrects the output according to the given types and, as well, adds the default values, even when the config hasn't been saved.
Maybe add a flag like
--correct-configuration
or an option to the.npmbundlerrc
The text was updated successfully, but these errors were encountered: