Fix selectField selected attr
This commit is contained in:
parent
87535d468b
commit
7a9f7cf798
@ -295,7 +295,7 @@ selectField opts = Field -- FIXME won't work for optional yet
|
|||||||
$if not isReq
|
$if not isReq
|
||||||
<option value=none>
|
<option value=none>
|
||||||
$forall pair <- pairs
|
$forall pair <- pairs
|
||||||
<option value=#{show $ fst pair} :(==) val (fst $ snd pair):selected>#{fst $ snd pair}
|
<option value=#{show $ fst pair} :(==) val (pack $ show $ fst pair):selected>#{fst $ snd pair}
|
||||||
|]
|
|]
|
||||||
}
|
}
|
||||||
where
|
where
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user