amsik / liquor-tree

Tree component based on Vue.js
MIT License
398 stars 94 forks source link

other propertyNames for children possible ? #206

Closed erhard closed 4 years ago

erhard commented 4 years ago

On the main level I can set the propertyNames.

The children differ from that names , can I set the property names of the children independently ?

Here is the structure

0: detailcriteria: Array(1) main_criterion: (...) main_criterion_id: (...) main_criterion_infotext: (...) percentage: 95

detailcriteria: Array(1) 0: criterion: "Selbständige nebenberufliche Tätigkeiten" detail_criterion_id: (...) infotext: "Mitversichert"

erhard commented 4 years ago

Is answered from amsik in #135. So its a double