fix: toggleList
with validLiChildrenTypes
#1816
Merged
toggleList
with validLiChildrenTypes
#1816