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
Copy file name to clipboardexpand all lines: Guide.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -250,7 +250,7 @@ Details for each of them follow.
250
250
| defaultState | String | "signIn" | Specifies the state to be used initially when atForm is rendered. This is not considered when rendering atForm on configured routes. |
251
251
| enablePasswordChange | Boolean | false | Specifies whether to allow to show the form for password change. Note: In case the `changePwd` route is not configures, this is to be done *manually* inside some custom template. |
252
252
| enforceEmailVerification | Boolean | false | When set to true together with sendVerificationEmail, forbids user login unless the email address is verified. **Warning: experimental! Use it only if you have accounts-password as the only service!!!**|
253
-
| focusFirstInput | Boolean |true| When set to true, asks to autofocus the first input of atForm when the template is rendered. |
253
+
| focusFirstInput | Boolean |!Meteor.isCordova| When set to true, asks to autofocus the first input of atForm when the template is rendered. Note: have a look at [this issue](https://github.com/meteor-useraccounts/core/issues/594) in case you're getting problems with cordova apps. |
254
254
| forbidClientAccountCreation | Boolean | false | Specifies whether to forbid user registration from the client side. In case it is set to true, neither the link for user registration nor the sign up form will be shown. |
255
255
| overrideLoginErrors | Boolean | true | Asks to show a general `Login Forbidden` on a login failure, without specifying whether it was for a wrong email or for a wrong password. |
256
256
| sendVerificationEmail | Boolean | false | Specifies whether to send the verification email after successful registration. |
@@ -445,7 +445,7 @@ Each option is described below:
### Detect reactively when a form is being processed
447
447
448
-
`AccountsTemplates.disabled()` returns `true` when a submitted form is being processed and `false` once the submission process has been completed(successfully or not). `AccountsTemplate.disabled()` is reactive and can be used to trigger UI events, such as spinners, "Please wait" messages or to disable input elements, while the form is being processed. The function works irrespectively of form status (signIn, signUp, pwdReset etc.). A typical use-case would be in a template helper:
448
+
`AccountsTemplates.disabled()` returns `true` when a submitted form is being processed and `false` once the submission process has been completed(successfully or not). `AccountsTemplate.disabled()` is reactive and can be used to trigger UI events, such as spinners, "Please wait" messages or to disable input elements, while the form is being processed. The function works irrespectively of form status (signIn, signUp, pwdReset etc.). A typical use-case would be in a template helper:
0 commit comments