-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moving the PasswordStrength component to below the password input #1444
Conversation
@@ -37,19 +37,19 @@ export default class InputWrap extends React.Component { | |||
|
|||
return ( | |||
<div className={blockClassName}> | |||
{before} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the actual fix
'data-__type': type, | ||
...addDataToProps(props) | ||
}, | ||
children |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed this so children are actually rendered instead of rendered as "data-children" params. This makes the children available to interact with
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to this change. DOM needs to be rendered below the password input.
fix #1438