Skip to content

Commit 68c28e0

Browse files
committed
Update README
1 parent e1eccc2 commit 68c28e0

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ This component allows users to build complex condition trees that can be used to
2626
- RHS can be:
2727
- values
2828
- 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~~
3131
- Reordering (drag-n-drop) support for rules and groups of rules
3232
- Export to MongoDb, SQL, JsonLogic, SpEL or ElasticSearch
3333

@@ -51,7 +51,11 @@ df = pd.DataFrame({
5151
config = config_from_dataframe(df)
5252

5353
# 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+
)
5559

5660
# Filtered dataframe
5761
df = df.query(query_string)

0 commit comments

Comments
 (0)