public/javascripts/WireIt/build/wireit-inputex-editor-grouping.js
function() {
      try {
         // Close previous field
         if(this.fieldValue) {
            this.fieldValue.close();
            this.fieldValue.destroy();
            delete this.fieldValue;
            this.fieldValueWrapper.innerHTML = '';
         }
      
         // Re-build the fieldValue
         var fieldOptions = this.group.getValue();
         
         fieldOptions.type = this.getValue().type;
         fieldOptions.parentEl = this.fieldValueWrapper;
         
         this.fieldValue = inputEx(fieldOptions,this);
      
         // Refire the event when the fieldValue is updated
         this.fieldValue.updatedEvt.subscribe(this.fireUpdatedEvt, this, true);
      }
      catch(ex) {
         console.log("Error while updateFieldValue", ex.message);
      }
   }
function() {
      try {
         // Close previous field
         if(this.fieldValue) {
            this.fieldValue.close();
            this.fieldValue.destroy();
            delete this.fieldValue;
            this.fieldValueWrapper.innerHTML = '';
         }
      
         // Re-build the fieldValue
         var fieldOptions = this.group.getValue();
         
         fieldOptions.type = this.getValue().type;
         fieldOptions.parentEl = this.fieldValueWrapper;
         
         this.fieldValue = inputEx(fieldOptions,this);
      
         // Refire the event when the fieldValue is updated
         this.fieldValue.updatedEvt.subscribe(this.fireUpdatedEvt, this, true);
      }
      catch(ex) {
         console.log("Error while updateFieldValue", ex.message);
      }
   }
function ( ) { try { // Close previous field if ( this . fieldValue ) { this . fieldValue . close ( ) ; this . fieldValue . destroy ( ) ; delete this . fieldValue ; this . fieldValueWrapper . innerHTML = '' ; } // Re-build the fieldValue var fieldOptions = this . group . getValue ( ) ; fieldOptions . type = this . getValue ( ) . type ; fieldOptions . parentEl = this . fieldValueWrapper ; this . fieldValue = inputEx ( fieldOptions , this ) ; // Refire the event when the fieldValue is updated this . fieldValue . updatedEvt . subscribe ( this . fireUpdatedEvt , this , true ) ; } catch ( ex ) { console . log ( "Error while updateFieldValue" , ex . message ) ; } }
Update the fieldValue
Update the fieldValue