only allow item inside root
This commit is contained in:
parent
709c6dedf2
commit
8bf206e378
@ -85,6 +85,8 @@ class RadioCardsItem(RadixThemesComponent):
|
|||||||
# When true, indicates that the user must check the radio item before the owning form can be submitted.
|
# When true, indicates that the user must check the radio item before the owning form can be submitted.
|
||||||
required: Var[bool]
|
required: Var[bool]
|
||||||
|
|
||||||
|
_valid_parents: list[str] = ["RadioCardsRoot"]
|
||||||
|
|
||||||
|
|
||||||
class RadioCards(SimpleNamespace):
|
class RadioCards(SimpleNamespace):
|
||||||
"""RadioCards components namespace."""
|
"""RadioCards components namespace."""
|
||||||
|
Loading…
Reference in New Issue
Block a user