mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-15 01:28:36 -05:00
Set lookup value changed from something to nothing to be null
This commit is contained in:
committed by
Matthew Jones
parent
f93506fe2c
commit
b7071a48c2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user