imports/vx/client/code/ux.js
/**
     * Given a form, construct a JSON object consisting of all of the
     * component values where the name is the dbName and the value is the value.
     *
     * @param {object} form Form object.
     * @returns {object} Form object.
     */
Given a form, construct a JSON object consisting of all of the
component values where the name is the dbName and the value is the value.

@param {object} form Form object.
@returns {object} Form object.
Given a form construct a JSON object consisting of all of the component values where the name is the dbName and the value is the value . @param { object } form Form object . @returns { object } Form object .
makeFormObject(form) {
        let formObject = {}
        _.each(form.components, component => {
            let dbName = component.props.dbName || component.props.id
            let value = component.getValue()
            if (!Util.isNullish(value)) {
                formObject[dbName] = value
            }
        })
        return formObject
    }
makeFormObject ( form ) { let formObject = { } _ . each ( form . components , component => { let dbName = component . props . dbName || component . props . id let value = component . getValue ( ) if ( ! Util . isNullish ( value ) ) { formObject [ dbName ] = value } } ) return formObject }
Given a form, construct a JSON object consisting of all of the
 component values where the name is the dbName and the value is the value.
Given a form construct a JSON object consisting of all of the component values where the name is the dbName and the value is the value .