Input handlers: with getType

  1. Edit the getType binding method
getType: function getType(el) {
  var dataType = $(el).data("data-type");
  if (dataType === "date") return "OSUICode.textDate";
  else if (dataType === "number") return "OSUICode.textNumber";
  else return false; // Default behavior
},

Note: To use the Shiny built-in handler, we could return “shiny.date” instead.