ukrbublik / react-awesome-query-builder

User-friendly query builder for React
https://ukrbublik.github.io/react-awesome-query-builder
MIT License
2.02k stars 504 forks source link

Clone Buttons for Rules and Groups #1148

Open ohyae opened 4 days ago

ohyae commented 4 days ago

Is your feature request related to a problem? Please describe. In our project, we often need to create similar rules or groups with only slight modifications. Right now, manually recreating these rules can be time-consuming, especially in large queries with multiple nested groups.

Describe the solution you'd like It would be incredibly helpful to have clone buttons for both individual rules and entire groups. The clone button could duplicate a rule or group, including all its configurations, and place the copy directly below the original.

Proposed Functionality:

Benefits:

Additional context For example:

Screenshot 2024-11-28 at 13 59 02
ukrbublik commented 3 days ago

Duplicate of https://github.com/ukrbublik/react-awesome-query-builder/issues/940