Skip to content

Value in json is string, but filter type is number #544

Closed
@adaamz

Description

@adaamz

Hi,
I have this queryBuilder

$qb.queryBuilder({
operators: [{
                    type: 'create',
                    nb_inputs: 1,
                    apply_to: 'select'
                }],
filters: [{
                    id: 'abc',
                    label: 'abc',
                    input: 'select',
                    type: 'integer',
                    operators: ['create'],
                    values: [1,2,3,4,5,6]
                }]
});

but in exported json the value for filter is always string (quoted number).

Is there any option to change that?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions