demo/snap: use <range> input