-
Notifications
You must be signed in to change notification settings - Fork 54
Description
query = {
condition: 'and',
rules: [
{field: 'age', operator: '<=', value: 'Bob'},
{field: 'gender', operator: '>=', value: 'm'},
{field: 'test', operator: '<=', value: 'test'},
{field: 'startTime', operator: '<=', value: 'test'},
]
};
config: QueryBuilderConfig = {
fields: {
age: {name: 'age', type: 'text'},
test: {name: 'test', type: 'category',
options: [
{ name: 'Male', value: 'm' },
{ name: 'Female', value: 'f' }
]},
startTime: { name: 'Start Time', type: 'datetime' },
gender: {
name: 'Gender',
type: 'category',
options: [
{name: 'Male', value: 'm'},
{name: 'Female', value: 'f'}
]
}
}
}
while im using above format text and datetime field type not working
i got this warning message
ngx-angular-query-builder.mjs:292 Could not find template for field with type: text