bootstrap-touchspin
bootstrap-touchspin copied to clipboard
If min/max or step are set on the original input, touchspin should use them
trafficstars
I've created a pull request: #108
Use case / rationale: I have some pages with several dozen TouchSpin decorated inputs - with about 10 different variations on min/max/step depending on the underlying data type. It's a lot more convenient to just set them directly in the HTML than to have to create CSS classes to match 10 different jquery selectors, and then 10 different javascript fragments to initialize the spinners properly.