Thank you Animal for your reply. I will play with the live code editor, what is detail document you recomend to check so I can do it my own. Like what is accepted type : "combo", "container" ..., how to add className to style it
sidebar: {
items: {
// We do not want to filter by resource in this app
resourceFilter: undefined,
// Add a new Widget
statusFilter: {
weight: 100,
cls: 'status-filter-container',
type: 'container',
layout: 'vbox',
defaults: {
type: 'checkbox'
},
// @ts-ignore
onFieldChange: (obj) => {
console.log(obj);
},
items: {
completed: {
label: 'Completed',
checkedValue: 'Completed_val',
value: 'Completed_val'
},
confirmed: {
label: 'Confirmed',
checkedValue: 'Confirmed_val',
value: 'Confirmed_val'
},
draft: {
label: 'Draft',
checkedValue: 'Confirmed_val',
value: 'Confirmed_val'
},
pending: {
label: 'Pending',
checkedValue: 'Confirmed_val',
value: 'Confirmed_val'
}
}
}
}
},
But I cant seem to set value for options. Value of option onFieldChange always = true when checked and false when uncchecked not the value I want to set.
Thank you Animal for your reply. I will play with the live code editor, what is detail document you recomend to check so I can do it my own. Like what is accepted type : "combo", "container" ..., how to add className to style it