Add HasValue instance for RangeInput
commit2c2d03389b3a2c8ae3c95ff67611338619a7618c
authorDoug Beardsley <mightybyte@gmail.com>
dateWed 29 Mar 2017, 06:28 (10 years ago)
parentff9351a
src/Reflex/Dom/Widget/Input.hs+4
@@ -526,6 +526,10 @@ instance HasValue (TextInput t) where
526526 type Value (TextInput t) = Dynamic t Text
527527 value = _textInput_value
528528
529+instance HasValue (RangeInput t) where
530+ type Value (RangeInput t) = Dynamic t Float
531+ value = _rangeInput_value
532+
529533instance HasValue (FileInput d t) where
530534 type Value (FileInput d t) = Dynamic t [File]
531535 value = _fileInput_value