Skip to content

Commit

Permalink
lov with table rebuild (#1278)
Browse files Browse the repository at this point in the history
resolves #1201

Co-authored-by: Fred Lefévère-Laoide <[email protected]>
  • Loading branch information
FredLL-Avaiga and Fred Lefévère-Laoide authored May 13, 2024
1 parent abe39d5 commit e4265a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion taipy/gui/_renderers/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ class _Builder:
"style",
"tooltip",
"lov",
"on_edit",
]

def __init__(
Expand Down Expand Up @@ -480,7 +481,7 @@ def __filter_attributes_hashes(self, keys: t.List[str]):
def __build_rebuild_fn(self, fn_name: str, attribute_names: t.Iterable[str]):
rebuild = self.__attributes.get("rebuild", False)
rebuild_hash = self.__hashes.get("rebuild")
if rebuild_hash or rebuild:
if rebuild_hash or _is_boolean_true(rebuild):
attributes, hashes = self.__filter_attributes_hashes(self.__filter_attribute_names(attribute_names))
rebuild_name = f"bool({self.__gui._get_real_var_name(rebuild_hash)[0]})" if rebuild_hash else "None"
try:
Expand Down

0 comments on commit e4265a2

Please sign in to comment.