Skip to content

field type (text && datetime) is not working #24

@ramizraja1

Description

@ramizraja1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions