You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using bootstrap input groups, the z-append-to allows a query selector to identify an element to append the z-decorator to.
However, within an ng-repeat it is a pain to generate unique ids to append to. The accompanying pull request will append to an element in exactly the same way if a single DOM element matches the querySelector, but if more than one element matches, it will find the first matching ancestor of the input/tetxarea/select element being validated. In this way the z-append-to directive now works with class and element selectors.
The text was updated successfully, but these errors were encountered:
mcshaz
added a commit
to mcshaz/breeze.js.labs
that referenced
this issue
Sep 16, 2016
addresses issue Breeze#30
- requires Array.prototype.some & Function.prototype.find, so these
might need a polyfill in older browsers.
- tagName is assumed to be upper case - this may require a toUpperCase()
in xhtml documents
When using bootstrap input groups, the z-append-to allows a query selector to identify an element to append the z-decorator to.
However, within an ng-repeat it is a pain to generate unique ids to append to. The accompanying pull request will append to an element in exactly the same way if a single DOM element matches the querySelector, but if more than one element matches, it will find the first matching ancestor of the input/tetxarea/select element being validated. In this way the z-append-to directive now works with class and element selectors.
The text was updated successfully, but these errors were encountered: