supertokens / supertokens-auth-react

ReactJS authentication module for SuperTokens
https://supertokens.com
Other
276 stars 84 forks source link

feat: add getDefaultValue to signin & signup form fields #756

Closed amitbadala closed 11 months ago

amitbadala commented 11 months ago

Summary of change

This PR enables getDefaultValue prop on signing form fields for emailpassword recipe Users can now set default values for both sign in & sign up form fields

Related issues

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)

Documentation changes

(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)

Checklist for important updates

Remaining TODOs for this PR

github-actions[bot] commented 11 months ago

size-limit report 📦

Path Size
lib/build/index.js 14.19 KB (0%)
recipe/session/index.js 15.15 KB (0%)
recipe/session/prebuiltui.js 17.77 KB (0%)
recipe/thirdpartyemailpassword/index.js 29.65 KB (0%)
recipe/thirdparty/index.js 26.43 KB (0%)
recipe/emailpassword/index.js 9.94 KB (0%)
recipe/emailverification/index.js 7.26 KB (0%)
recipe/passwordless/index.js 63.47 KB (0%)
recipe/thirdpartypasswordless/index.js 84.2 KB (0%)
recipe/emailverification/prebuiltui.js 22.46 KB (0%)
recipe/thirdpartyemailpassword/prebuiltui.js 53.99 KB (0%)
recipe/thirdparty/prebuiltui.js 38.51 KB (0%)
recipe/emailpassword/prebuiltui.js 27.71 KB (0%)
recipe/passwordless/prebuiltui.js 102.98 KB (0%)
recipe/thirdpartypasswordless/prebuiltui.js 130.59 KB (0%)
recipe/multitenancy/index.js 6.12 KB (0%)