Merge pull request #5457 from Matt-Yorkley/cart-fix

Fix cart fields sharing same scope
This commit is contained in:
Luis Ramos
2020-05-19 19:31:49 +01:00
committed by GitHub
2 changed files with 16 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
Darkswarm.directive "ofnOnHand", ->
restrict: 'A'
require: "ngModel"
scope: true
link: (scope, elem, attr, ngModel) ->
# In cases where this field gets its value from the HTML element rather than the model,