8000 Multiple input in controlled forms · Issue #713 · goatslacker/alt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Multiple input in controlled forms #713
Open
@olypros

Description

@olypros

https://facebook.github.io/react/docs/forms.html#handling-multiple-inputs

Im trying to implement this using alt but its not working.
I cannot pass js object to store from action.

It only works individually,specifically defining single functions for each input element.

E.g I have to create

handleName(e){...}
handleMomName(e){...}

in Actions and pass value to stores and set its state there.

handleNameSuccess(val){this.stateName = val;}
handleMomSuccess(val){this.stateMomName = val;.}

and so on..

But how do i do multiple input at once using alt?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0