Skip to content

how can i get all the parent keys until root when onSelect ?  #27

@mengke111

Description

@mengke111

{
name: 'John',
age: 30,
hobbies: ['reading', 'coding', 'swimming'],
address: {
street: '123 Main St',
city: 'New York',
country: {
name: 'Main ',
codex: '123',
ss: 'fdfdf'
}
}
}

when i select codex ,I want get codex and country and address

function onSelect(e) {
console.log("onSelect")
console.log(e)
}

Thanks very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions