Skip to content

Commit

Permalink
refactor(bo): replaces two-way data binding by single-way data bindin…
Browse files Browse the repository at this point in the history
…g in fields-list, trying to fix some weird unidentified side effet (refs #70)
  • Loading branch information
naholyr committed Jan 23, 2019
1 parent 99070bd commit a11f153
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions back-office/components/fields-list/index.js
Expand Up @@ -37,13 +37,13 @@ const component = {
template: require('./index.html'),
controller,
bindings: {
fields: '=',
item: '=',
fields: '<',
item: '<',
// to prefix recursive inputs name and id
index: '=?',
key: '=?',
index: '<?',
key: '<?',
// ngForm for errors
form: '='
form: '<'
}
};

Expand Down

0 comments on commit a11f153

Please sign in to comment.