Permalink
Browse files

fix(form-options): pull out custom text field for object notation (#625)

Fix for issue #622
  • Loading branch information...
tmorehouse authored and pi0 committed Jul 3, 2017
1 parent f47ab79 commit 83cec5463818261ad13d5514e8d3357f24cd3b22
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/mixins/form-options.js
@@ -30,6 +30,9 @@ export default {
// Resolve value (uses key as value if not provided)
option.value = option[this.valueField] || value;
// Resolve text field (uses key as value if not provided)
option.text = option[this.textField] || value;
return option;
});

0 comments on commit 83cec54

Please sign in to comment.