code: function (options) {
              if (!this.input) {
                  return;
              }
  
              this.is_update = true;
  
              this.options.from = this.result.from;
              this.options.to = this.result.to;
              this.update_check.from = this.result.from;
              this.update_check.to = this.result.to;
  
              this.options = $.extend(this.options, options);
              this.validate();
              this.updateResult(options);
  
              this.toggleInput();
              this.remove();
              this.init(true);
          }
docs: ============================================================================================================= Public methods