useLovListMemo
Function: useLovListMemo()¶
taipy-gui JS module API / useLovListMemo
useLovListMemo(
lov,defaultLov,tree):LovItem[]
A React hook that returns a LoV list from the LoV default value and the LoV bound value.
Parameters¶
lov¶
The bound lov value.
undefined | LoV
defaultLov¶
string
The JSON-stringified default LoV value.
tree¶
boolean = false
This flag indicates if the LoV list is a tree or a flat list (default is false).
Returns¶
LovItem[]
A list of LoV items.