Unique fails for email field
yellowBirdy opened this issue · 1 comments
yellowBirdy commented
I'm getting multiple failed uniqueness tests for an email column, while there is only one duplicate.
Rows 3,4,5,6,8,9 get flagged instead of 8,9 only
Note: required and email validation work correctly
Data:
Email
neiles@domain.io
XXX
sasza@domain.io
@domain.io
bill@domain.io
jim+1@domain.io
jim+1@domain.io
Code:
const CSVConfig = {
headers: [
...
{ name: 'Email' ,inputName: 'email', required: true, requiredError, unique: true, uniqueError, validate: isEmailValidStringent, validateError}.
...
]
}
yellowBirdy commented
I've had the same inputName
for several columns, updating that fixed it