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

Doesn't support react-toolbox properly #33

Open
advance512 opened this issue Feb 23, 2017 · 0 comments
Open

Doesn't support react-toolbox properly #33

advance512 opened this issue Feb 23, 2017 · 0 comments

Comments

@advance512
Copy link

I use the following as the contents of the LoginForm:

<Input type='text' value={this.state.username} name="username" id="username"
     label='Email Address' hint='address@domain.com' required
     onChange={this.handleChange.bind(this, 'username')} icon='face'/>
<Input type='password' value={this.state.password} name="password" id="password"
     label='Password' required
     onChange={this.handleChange.bind(this, 'password')} icon='lock'/>
<p data-spIf="form.error">
<strong>Error:</strong><br />
<span data-spBind="form.errorMessage"/>
</p>
<Button type='submit' value="Login" icon='check'>Login</Button>

and it doesn't find the fields. It submits: { username: "", password: "" } to the local endpoint. I followed the comment in the documentation about type, onChange and name.

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

No branches or pull requests

1 participant