From 4f812c6b3e470dcdef46f1e148caefc0ddafadce Mon Sep 17 00:00:00 2001 From: uzairr Date: Tue, 29 Dec 2020 02:35:06 +0500 Subject: [PATCH] add email placeholder --- src/logistration/RegistrationPage.jsx | 2 +- .../tests/__snapshots__/RegistrationPage.test.jsx.snap | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/logistration/RegistrationPage.jsx b/src/logistration/RegistrationPage.jsx index a5524da8..6b651d92 100644 --- a/src/logistration/RegistrationPage.jsx +++ b/src/logistration/RegistrationPage.jsx @@ -507,7 +507,7 @@ class RegistrationPage extends React.Component { name="email" id="email" type="email" - placeholder="" + placeholder="username@domain.com" value={this.state.email} onChange={e => this.handleOnChange(e)} onBlur={e => this.handleOnBlur(e)} diff --git a/src/logistration/tests/__snapshots__/RegistrationPage.test.jsx.snap b/src/logistration/tests/__snapshots__/RegistrationPage.test.jsx.snap index 63cec7d2..53ace4d3 100644 --- a/src/logistration/tests/__snapshots__/RegistrationPage.test.jsx.snap +++ b/src/logistration/tests/__snapshots__/RegistrationPage.test.jsx.snap @@ -88,7 +88,7 @@ exports[`./RegistrationPage.js should display no password field when current pro name="email" onBlur={[Function]} onChange={[Function]} - placeholder="" + placeholder="username@domain.com" required={true} type="email" value="" @@ -283,7 +283,7 @@ exports[`./RegistrationPage.js should match TPA provider snapshot 1`] = ` name="email" onBlur={[Function]} onChange={[Function]} - placeholder="" + placeholder="username@domain.com" required={true} type="email" value="" @@ -460,7 +460,7 @@ exports[`./RegistrationPage.js should match default section snapshot 1`] = ` name="email" onBlur={[Function]} onChange={[Function]} - placeholder="" + placeholder="username@domain.com" required={true} type="email" value="" @@ -637,7 +637,7 @@ exports[`./RegistrationPage.js should match pending button state snapshot 1`] = name="email" onBlur={[Function]} onChange={[Function]} - placeholder="" + placeholder="username@domain.com" required={true} type="email" value="" @@ -861,7 +861,7 @@ exports[`./RegistrationPage.js should show error message on 409 1`] = ` name="email" onBlur={[Function]} onChange={[Function]} - placeholder="" + placeholder="username@domain.com" required={true} type="email" value=""