forked from dabernathy89/vue-query-builder
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
kailashrdave edited this page Feb 12, 2018
·
7 revisions
Welcome to the vue-query-builder wiki! In this branch, we have added support for bootstrap4 and support to Vue-select and datetime (pikaday)
rule for select2
{
type: "select2",
id: "select2-field",
label: "A Select2 Field",
//selected:[{id:1,label:'A'}],
operators: ['IN'],
choices: [
{label: "Val 1", id: "1"},
{label: "Val 2", id: "2"},
{label: "Val 3", id: "3"}
],
sourceUrl:'',
inputType:'select2'
}
datetime
{
type: "date",
id: "date-field",
label: "A date Field",
operators: ['=','<>','<','<=','>','>='],
inputType:'date',
format:"MM/DD/YYYY"
}