Formatting
This commit is contained in:
parent
99561d0d4c
commit
1604680ab9
1 changed files with 16 additions and 14 deletions
|
|
@ -126,7 +126,9 @@ export default function InputComponent({
|
||||||
// in ascii encoding, so we need to handle it
|
// in ascii encoding, so we need to handle it
|
||||||
if (password) {
|
if (password) {
|
||||||
// check if all chars are •
|
// check if all chars are •
|
||||||
if (e.target.value.split("").every((char) => char === "•")) {
|
if (
|
||||||
|
e.target.value.split("").every((char) => char === "•")
|
||||||
|
) {
|
||||||
setErrorData({
|
setErrorData({
|
||||||
title: `Invalid characters: ${e.target.value}`,
|
title: `Invalid characters: ${e.target.value}`,
|
||||||
list: [
|
list: [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue