Merge branch 'develop' into backmerge-master

This commit is contained in:
Rory Powell 2023-06-16 11:37:07 +01:00
commit 6c5aebdbf0
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ export const createValidationStore = () => {
const observe = async (propertyName, value) => {
const values = get(validation).values
let fieldIsValid
if (!values.hasOwnProperty(propertyName)) {
if (!Object.prototype.hasOwnProperty.call(values, propertyName)) {
// Initial setup
values[propertyName] = value
return