on develop help sign in
Merge remote-tracking branch 'origin/develop' into jsaddle
3f3c61aAli Abrar
reflex-dom-core/reflex-dom-core.cabal+3−1
@@ -49,7 +49,9 @@ library
49 contravariant >= 1.4 && < 1.5,
49 contravariant >= 1.4 && < 1.5,
50 data-default >= 0.5 && < 0.8,
50 data-default >= 0.5 && < 0.8,
51 dependent-map == 0.2.*,
51 dependent-map == 0.2.*,
52+ dependent-sum >= 0.3 && < 0.5,
53+ dependent-sum-template >= 0.0.0.4 && < 0.1,
52− directory >= 1.2 && < 1.4,
54+ directory == 1.2.*,
53 exception-transformers == 0.4.*,
55 exception-transformers == 0.4.*,
54 ghcjs-dom >= 0.7.0.4 && < 0.8,
56 ghcjs-dom >= 0.7.0.4 && < 0.8,
55 jsaddle >=0.8.0.1 && <0.9,
57 jsaddle >=0.8.0.1 && <0.9,
reflex-dom-core/src/Reflex/Dom/Widget/Input.hs+4
@@ -663,6 +663,10 @@ instance HasValue (TextInput t) where
663 type Value (TextInput t) = Dynamic t Text
663 type Value (TextInput t) = Dynamic t Text
664 value = _textInput_value
664 value = _textInput_value
665
665
666+instance HasValue (RangeInput t) where
667+ type Value (RangeInput t) = Dynamic t Float
668+ value = _rangeInput_value
669+
666instance HasValue (FileInput d t) where
670instance HasValue (FileInput d t) where
667 type Value (FileInput d t) = Dynamic t [File]
671 type Value (FileInput d t) = Dynamic t [File]
668 value = _fileInput_value
672 value = _fileInput_value