commit
98456fe418
|
@ -58,7 +58,7 @@ export const createValidationStore = () => {
|
||||||
const observe = async (propertyName, value) => {
|
const observe = async (propertyName, value) => {
|
||||||
const values = get(validation).values
|
const values = get(validation).values
|
||||||
let fieldIsValid
|
let fieldIsValid
|
||||||
if (!values.hasOwnProperty(propertyName)) {
|
if (!Object.prototype.hasOwnProperty.call(values, propertyName)) {
|
||||||
// Initial setup
|
// Initial setup
|
||||||
values[propertyName] = value
|
values[propertyName] = value
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue