observablehq / inputs

Better input elements
https://observablehq.com/framework/lib/inputs
ISC License
125 stars 34 forks source link

Range + submit #40

Open mbostock opened 3 years ago

mbostock commented 3 years ago

As with text #9, we might want an explicit submit option here.

mbostock commented 3 years ago

You can sort of achieve this with Text({type: "number", submit: true}).

mootari commented 2 years ago

The new number widget also lacks a submit option, although that may deserve its own issue (given the unique constraints of the range widget).

mootari commented 2 years ago

You can sort of achieve this with Text({type: "number", submit: true}).

Note that step isn't set on the input, which makes this only useful in a very limited number of cases.