jonjamz / blaze-forms

Dead easy reactive forms with validation (Meteor).
https://atmospherejs.com/templates/forms
MIT License
113 stars 11 forks source link

Parent data search #99

Open paulbalomiri opened 8 years ago

paulbalomiri commented 8 years ago

Hi,

I removed the restriction of a maximum distance between parent and child form member template ( was 6, why not 42? :smile: )

See PR below.

I think that , still, there is too much magic in finding the parent template. What would you think of a PR that does away with the nessesary context template parameter and restricts the set of templates looked at to Views which are child views of Templates registered, but not of unregistered templates

Assume a structure of blaze views is like this

Now i'm proposing would pick the parent context child view like this

The docs would read sth. like this

Do you want to get a PR for this?

paulbalomiri commented 8 years ago

Ok, i'm piling up some PRs. @jonjamz Could you have a brief look into the commits so far, so that i know if i have to recreate a PR with only a subset of my changes.

cheers !