Set lookup value changed from something to nothing to be null

This commit is contained in:
gconsidine
2017-10-09 11:06:55 -04:00
committed by Matthew Jones
parent f93506fe2c
commit b7071a48c2
2 changed files with 6 additions and 6 deletions
@@ -32,7 +32,7 @@ function AtFormController (eventService, strings) {
vm.setListeners();
};
vm.register = (category, component, el) => {
vm.register = (category, component, el) => {
component.category = category;
component.form = vm.state;
@@ -66,7 +66,7 @@ function AtFormController (eventService, strings) {
let data = vm.components
.filter(component => component.category === 'input')
.reduce((values, component) => {
if (!component.state._value) {
if (component.state._value === undefined) {
return values;
}