File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ This component allows users to build complex condition trees that can be used to
26
26
- RHS can be:
27
27
- values
28
28
- another fields (of same type)
29
- - functions (arguments also can be values/fields/funcs)
30
- - LHS can be field or function
29
+ - ~~ functions (arguments also can be values/fields/funcs) ~~ (not implemented yet )
30
+ - LHS can be field ~~ or function~~
31
31
- Reordering (drag-n-drop) support for rules and groups of rules
32
32
- Export to MongoDb, SQL, JsonLogic, SpEL or ElasticSearch
33
33
@@ -51,7 +51,11 @@ df = pd.DataFrame({
51
51
config = config_from_dataframe(df)
52
52
53
53
# Condition tree
54
- query_string = condition_tree(config)
54
+ query_string = condition_tree(
55
+ config,
56
+ always_show_buttons = True ,
57
+ placeholder = " Empty condition tree"
58
+ )
55
59
56
60
# Filtered dataframe
57
61
df = df.query(query_string)
You can’t perform that action at this time.
0 commit comments