MCPcopy Index your code
hub / github.com/firebase/quickstart-js / updateVerifyCodeButtonUI

Function updateVerifyCodeButtonUI

auth/phone-visible.ts:211–213  ·  view source on GitHub ↗

* Updates the Verify-code button state depending on form values state.

()

Source from the content-addressed store, hash-verified

209 * Updates the Verify-code button state depending on form values state.
210 */
211function updateVerifyCodeButtonUI() {
212 verifyCodeButton.disabled = !!window.verifyingCode || !getCodeFromUserInput();
213}
214
215/**
216 * Updates the state of the Sign-in form.

Callers 2

onSignInSubmitFunction · 0.70
onVerifyCodeSubmitFunction · 0.70

Calls 1

getCodeFromUserInputFunction · 0.70

Tested by

no test coverage detected