You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
locNameSig::MaybeString->SignalHTML (MaybeString)
locNameSig nameMay = step nameMay do
newName <-D.div' [
D.h3' [D.text "Institution Name"]
, D.input [P.unsafeTargetValue <$> P.onChange]
]
pure $ locNameSig $ if newName == ""thenNothingelseJust newName
After entering a single character, focus is undesirably lost. Some google searches suggest this may be because the widget is being re-rendered, which makes sense, but why only on the first key press? Subsequent entries into the input field work as expected, and in in all cases the output is always emitted as hoped.
The text was updated successfully, but these errors were encountered:
Here's an example:
After entering a single character, focus is undesirably lost. Some google searches suggest this may be because the widget is being re-rendered, which makes sense, but why only on the first key press? Subsequent entries into the input field work as expected, and in in all cases the output is always emitted as hoped.
The text was updated successfully, but these errors were encountered: