insin / insin/react-auto-form

Using trimOnSubmit on Edge

Open
#6 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
116
Forks
12
PR merge metrics
No merged PRs in 30d

Description

When I apply trimOnSubmit prop on edge (14 or 15) it fails on this condition on the bold line

`
if (!CHECKED_INPUT_TYPES[type]) {
**value = trim ? element.value.replace(TRIM_RE, '') : element.value;**
} else if (element.checked) {
value = element.value;
}
`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.