(just-decimal s)
Returns s
with all non-digits stripped.
Returns `s` with all non-digits stripped.
An integer input. Can be used like dom/input
but onChange and onBlur handlers will be passed an int instead of
a raw react event, and you should supply an int for :value
instead of a string. You may set the :type
to text
or number depending on how you want the control to display, even though the model value is always an int or nil.
All other attributes passed in props are passed through to the contained dom/input
.
An integer input. Can be used like `dom/input` but onChange and onBlur handlers will be passed an int instead of a raw react event, and you should supply an int for `:value` instead of a string. You may set the `:type` to text or number depending on how you want the control to display, even though the model value is always an int or nil. All other attributes passed in props are passed through to the contained `dom/input`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close