setRange and setIncrement return $this to allow chaining.
missing allowed inputs variable added
setInputType will ignore allowed_types if it is empty