How to use the react-awesome-query-builder.BasicConfig.types function in react-awesome-query-builder

To help you get started, we’ve selected a few react-awesome-query-builder examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ukrbublik / react-awesome-query-builder / sandbox / src / demo / config.js View on Github external
dateFormat: 'DD.MM.YYYY',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
    },
    func: {
        ...BasicConfig.widgets.func,
        customProps: {
            showSearch: true
        }
    },
};


const types = {
    ...BasicConfig.types,
    // examples of  overriding
    boolean: merge(BasicConfig.types.boolean, {
        widgets: {
            boolean: {
                widgetProps: {
                    hideOperator: true,
                    operatorInlineLabel: "is",
                }
            },
        },
    }),
};


const localeSettings = {
    locale: {
        short: 'ru',
        full: 'ru-RU',
github ukrbublik / react-awesome-query-builder / examples / demo / config.tsx View on Github external
...BasicConfig.widgets.datetime,
        timeFormat: 'HH:mm',
        dateFormat: 'DD.MM.YYYY',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
    },
    func: {
        ...BasicConfig.widgets.func,
        customProps: {
            showSearch: true
        }
    },
};


const types: Types = {
    ...BasicConfig.types,
    // examples of  overriding
    boolean: merge(BasicConfig.types.boolean, {
        widgets: {
            boolean: {
                widgetProps: {
                    hideOperator: true,
                    operatorInlineLabel: "is"
                }
            },
        },
    }),
};


const localeSettings: LocaleSettings = {
    locale: {
github ukrbublik / react-awesome-query-builder / examples / demo / config.tsx View on Github external
dateFormat: 'DD.MM.YYYY',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
    },
    func: {
        ...BasicConfig.widgets.func,
        customProps: {
            showSearch: true
        }
    },
};


const types: Types = {
    ...BasicConfig.types,
    // examples of  overriding
    boolean: merge(BasicConfig.types.boolean, {
        widgets: {
            boolean: {
                widgetProps: {
                    hideOperator: true,
                    operatorInlineLabel: "is"
                }
            },
        },
    }),
};


const localeSettings: LocaleSettings = {
    locale: {
        short: 'ru',
        full: 'ru-RU',
github ukrbublik / react-awesome-query-builder / sandbox / src / demo / config.js View on Github external
...BasicConfig.widgets.datetime,
        timeFormat: 'HH:mm',
        dateFormat: 'DD.MM.YYYY',
        valueFormat: 'YYYY-MM-DD HH:mm:ss',
    },
    func: {
        ...BasicConfig.widgets.func,
        customProps: {
            showSearch: true
        }
    },
};


const types = {
    ...BasicConfig.types,
    // examples of  overriding
    boolean: merge(BasicConfig.types.boolean, {
        widgets: {
            boolean: {
                widgetProps: {
                    hideOperator: true,
                    operatorInlineLabel: "is",
                }
            },
        },
    }),
};


const localeSettings = {
    locale: {

react-awesome-query-builder

User-friendly query builder for React. Please migrate to new @react-awesome-query-builder/* See https://github.com/ukrbublik/react-awesome-query-builder#migration-to-600

MIT
Latest version published 1 year ago

Package Health Score

62 / 100
Full package analysis