Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there an option to add component between Fields and Operators? #89

Closed
leehen opened this issue Jul 12, 2019 · 4 comments
Closed

Is there an option to add component between Fields and Operators? #89

leehen opened this issue Jul 12, 2019 · 4 comments

Comments

@leehen
Copy link

leehen commented Jul 12, 2019

Is there an option to add component between Fields dropdown and Operators dropdown?

or can we customize Fields dropdown component?

@johannsl
Copy link

johannsl commented Sep 16, 2019

Is there an option to add component between Fields dropdown and Operators dropdown?

or can we customize Fields dropdown component?

As far as I know, there is not.

You can however create categories in the fields dropdown such as in the demo example where subname and prox1 are in the category Members.

..It is much easier to configure the layout of a rule after the operator dropdown.

@ukrbublik ukrbublik added this to the Customizations milestone Nov 3, 2019
@lixiaochen0218
Copy link

It would be better to add cascader element from Antd for Fields

@ukrbublik
Copy link
Owner

It would be better to add cascader element from Antd for Fields
@lixiaochen0218

Done. See
https://github.com/ukrbublik/react-awesome-query-builder/blob/master/CONFIG.md#configsettings
renderField: (props) => <FieldCascader {...props} />,

(not released new version yet, for now in master)

@ukrbublik
Copy link
Owner

Added renderOperator and renderField in config.settings
(not released new version yet, for now in master)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants