03-13-2016 12:12 PM
03-24-2016 10:35 AM
var SearchForm = {
name: "alfresco/forms/DynamicForm",
config: {
setValueTopic: "SET_FORM_VALUE",
…
widgets: [
{
name: "alfresco/forms/controls/TextBox",
config: {
name: "prop_1",
label: "Property 1"
}
},
{
name: "alfresco/forms/controls/TextBox",
config: {
name: "prop_2",
label: "Property 2"
}
},
{
name: "alfresco/forms/controls/DateTextBox",
config: {
name: "prop_3",
label: "Property 3 - date"
}
},
]
{
id: "RESET_FORM",
name: "alfresco/menus/AlfMenuBarItem",
config: {
label: "Reset Form",
publishTopic: "SET_FORM_VALUE",
publishPayload: {
prop_1: "",
prop_2: "",
prop_3: null
}
}
}
03-01-2017 04:36 AM
Hi, can you please explain that how to reset form fields.
this is my quesion on community
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.