Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextAreaElementConfig is missing a HasSetValue instance #338

Open
hannes-steffenhagen-diffblue opened this issue Oct 31, 2019 · 0 comments

Comments

@hannes-steffenhagen-diffblue

TextAreaElementConfig should have a HasSetValue instance like this:

instance HasSetValue (TextAreaElementConfig er t m) where
  type SetValue (TextAreaElementConfig er t m) = Maybe (Event t T.Text)
  setValue f conf = fmap
    (\sv -> conf { _textAreaElementConfig_setValue = sv }) -- set
    . f $ _textAreaElementConfig_setValue conf -- get

In general it looks like there are a bunch of Has* instances missing from the Reflex.Dom.Builder.Class module, but maybe I'm just not looking in the right place for them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants