Skip to content

Commit

Permalink
Handle multi selection in lov components
Browse files Browse the repository at this point in the history
resolves #2290
  • Loading branch information
Fred Lefévère-Laoide authored and Fred Lefévère-Laoide committed Dec 3, 2024
1 parent 23b6901 commit 008d958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion taipy/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ def __front_end_update(
elif rel_var and isinstance(current_value, _TaipyLovValue): # pragma: no cover
lov_holder = _getscopeattr_drill(self, self.__evaluator.get_hash_from_expr(rel_var))
if isinstance(lov_holder, _TaipyLov):
if isinstance(value, str):
if isinstance(value, (str, list)):
val = value if isinstance(value, list) else [value]
elt_4_ids = self.__adapter._get_elt_per_ids(lov_holder.get_name(), lov_holder.get())
ret_val = [elt_4_ids.get(x, x) for x in val]
Expand Down

0 comments on commit 008d958

Please sign in to comment.