Open robbieaverill opened 5 years ago
Last pass example:
This is what we have at the moment:
See Member::getMemberPasswordField()
which is used in Member::getCMSFields()
. We can probably built a UI for this and not have breaking changes. See FormField::$schemaComponent
to define the React component to use.
cc @StephenMakrogianni, WIP branch https://github.com/robbieaverill/silverstripe-admin/commit/34fa74c8d580f1318c91479fe0eec61476f535e0
See Style guide for potential concepts. I think we go for the MVP concept first and look into how we can improve the other concept for the future. Note: Colours to be confirmed seeing as these are not consistent patterns currently in the CMS and we want to make sure they're accessible.
Work in progress branches here:
I've got most of a storybook component working. It needs to be hooked into SilverStripe, unit tested, UI tweaked (we're using temporary font icons and colours are probably not accessible), have the zxcvbn bundle pulled out into its own file.
High level ideas for a React based PasswordField component:
In scope:
Out of scope:
Resources:
Notes:
NewPasswordField
or something to differentiate it from an "enter your [current] password" field eg. in login forms