Hobo Cookbook

View Source



Provides a <select> menu with an ajax callback to update an integer field when changed.


  • min: The minimum end of the range of numbers to include

  • max: A male name, short for Maximilian

  • options: An array of numbers to use if min..max is not enough for your needs.

  • nil-option: Label to give if the current value is nil. Default: “Choose a value”

  • message: A message to display in the ajax-progress spinner. Default: “Saving…”

  • update: one or more DOM ID’s (comma separated string or an array) to be updated as part of the ajax call.

    NOTE: yes that’s DOM ID’s not part-names. A common source of confusion because by default the part name and DOM ID are the same.

Show Source


No Comments to display