🐛 Fix problem with multiple values in inputs

This commit is contained in:
alonso.torres 2022-03-15 10:48:57 +01:00
parent 9b862b672f
commit ccca3a38f0
4 changed files with 35 additions and 15 deletions

View file

@ -30,7 +30,7 @@
on-change (obj/get props "onChange")
on-blur (obj/get props "onBlur")
title (obj/get props "title")
default-val (obj/get props "default" 0)
default-val (obj/get props "default")
;; We need a ref pointing to the input dom element, but the user
;; of this component may provide one (that is forwarded here).