-
Notifications
You must be signed in to change notification settings - Fork 136
add autofocus attribute support #47
Comments
I can seem to get autoFocus to work... var LoginForm = t.struct({ var Form = t.form.create(LoginForm, {
|
It's correct, but the autoFocus feature is only on master. I'll release the v0.3 in a couple of days |
ah! i was just noticing that installing from NPM did not have those changes.. will wait for v0.3. thanks. |
v0.3.0 released. I decided to release with tuples as an experimental feature to speed up the release cycle. Let me know if it's everything ok with autoFocus. |
Thanks. I will give this a try later today... |
it is not working for me... I don't see my form element having the focus on initial load |
Autofocus still does not seem to work. Am I missing something or is this still broken? |
Hi, var Person = t.struct({
name: t.Str,
surname: t.Str
});
var options = {
fields: {
name: {
attrs: {
autoFocus: true
}
}
}
}; |
Brilliant! Works perfectly, and a nice improvement. Thanks! |
No description provided.
The text was updated successfully, but these errors were encountered: