fix(striker-ui): remove blur handlers in add mail server form

main
Tsu-ba-me 11 months ago
parent 550bbc26df
commit bd65517449
  1. 8
      striker-ui/components/ManageMailServer/AddMailServerForm.tsx

@ -136,7 +136,6 @@ const AddMailServerForm: FC<AddMailServerFormProps> = (props) => {
id={addressChain} id={addressChain}
label="Server address" label="Server address"
name={addressChain} name={addressChain}
onBlur={formik.handleBlur}
onChange={handleChange} onChange={handleChange}
required required
value={formik.values[msUuid].address} value={formik.values[msUuid].address}
@ -151,7 +150,6 @@ const AddMailServerForm: FC<AddMailServerFormProps> = (props) => {
id={portChain} id={portChain}
label="Server port" label="Server port"
name={portChain} name={portChain}
onBlur={formik.handleBlur}
onChange={handleChange} onChange={handleChange}
required required
type="number" type="number"
@ -167,7 +165,6 @@ const AddMailServerForm: FC<AddMailServerFormProps> = (props) => {
id={securityChain} id={securityChain}
label="Server security type" label="Server security type"
name={securityChain} name={securityChain}
onBlur={formik.handleBlur}
onChange={handleChange} onChange={handleChange}
required required
selectItems={['none', 'starttls', 'tls-ssl']} selectItems={['none', 'starttls', 'tls-ssl']}
@ -183,7 +180,6 @@ const AddMailServerForm: FC<AddMailServerFormProps> = (props) => {
id={authenticationChain} id={authenticationChain}
label="Server authentication method" label="Server authentication method"
name={authenticationChain} name={authenticationChain}
onBlur={formik.handleBlur}
onChange={handleChange} onChange={handleChange}
required required
selectItems={['none', 'plain-text', 'encrypted']} selectItems={['none', 'plain-text', 'encrypted']}
@ -199,7 +195,6 @@ const AddMailServerForm: FC<AddMailServerFormProps> = (props) => {
id={heloDomainChain} id={heloDomainChain}
label="HELO domain" label="HELO domain"
name={heloDomainChain} name={heloDomainChain}
onBlur={formik.handleBlur}
onChange={handleChange} onChange={handleChange}
required required
value={formik.values[msUuid].heloDomain} value={formik.values[msUuid].heloDomain}
@ -215,7 +210,6 @@ const AddMailServerForm: FC<AddMailServerFormProps> = (props) => {
inputProps={disableAutocomplete()} inputProps={disableAutocomplete()}
label="Server username" label="Server username"
name={usernameChain} name={usernameChain}
onBlur={formik.handleBlur}
onChange={handleChange} onChange={handleChange}
value={formik.values[msUuid].username} value={formik.values[msUuid].username}
/> />
@ -230,7 +224,6 @@ const AddMailServerForm: FC<AddMailServerFormProps> = (props) => {
inputProps={disableAutocomplete()} inputProps={disableAutocomplete()}
label="Server password" label="Server password"
name={passwordChain} name={passwordChain}
onBlur={formik.handleBlur}
onChange={handleChange} onChange={handleChange}
type="password" type="password"
value={formik.values[msUuid].password} value={formik.values[msUuid].password}
@ -247,7 +240,6 @@ const AddMailServerForm: FC<AddMailServerFormProps> = (props) => {
inputProps={disableAutocomplete()} inputProps={disableAutocomplete()}
label="Confirm password" label="Confirm password"
name={confirmPasswordChain} name={confirmPasswordChain}
onBlur={formik.handleBlur}
onChange={handleChange} onChange={handleChange}
type="password" type="password"
value={formik.values[msUuid].confirmPassword} value={formik.values[msUuid].confirmPassword}

Loading…
Cancel
Save