code: function(event) {
  			var elem = (event.data && event.data.elem) || event.target;
  			var inst = plugin._getInst(elem);
  			if (!$.isEmptyObject(inst) && !inst.ctrlKey && inst.lastVal !== inst.elem.val()) {
  				try {
  					var dates = plugin._extractDates(inst, inst.elem.val());
  					if (dates.length > 0) {
  						plugin.setDate(elem, dates, null, true);
  					}
  				}
  				catch (event) {
  					// Ignore
  				}
  			}
  			return true;
  		}
docs: Synchronise datepicker with the field.
  @memberof CalendarsPicker
  @private
  @param event {KeyEvent} The keystroke.
  @return {boolean} <code>true</code> if allowed, <code>false</code> if not allowed.