Meteor-Community-Packages / Meteor-Community-Packages/meteor-autoform-select2
question: nested array of objects
- Dominant language
- JavaScript
- Stars
- 25
- Forks
- 27
- PR merge metrics
- No merged PRs in 30d
Description
I am not sure if it is even possible but so far I failed to have one select2 field where I can select multiple cities for the schema below. Any help will be appreciated.
"Regions":{
type:Object,
},
"Regions.Cities":{
type:Array,
},
"Regions.Cities.$":{
type:Object,
},
"Regions.Cities.$._id":{
type:String,
},
"Regions.Cities.$.name":{
type:Object,
},
Contributor guide
Research direction
Start with the nested Regions.Cities schema and the requested select2 field behavior described in the issue. Check whether selecting multiple city objects is supported for this schema; done would be a documented or demonstrated working approach, or a clearly scoped change if it is not.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100