Skip to content

Example provided does not work when insert validation #67

@guiihlopes

Description

@guiihlopes

Describe the bug

Hello!

Using the example provided and inserting any simple validation it's not working... I check it out and I have discovered that its always dispatching error when there's a nested field like attributes.title or attributes[title], when the field name is title only the validation works without any problem. It seems not validating with the current value!

To Reproduce

1: https://github.com/flipbyte/formik-json-schema#prepare-your-form-object
2: Add simple string required validation.

Expected behavior

It expected to show error only when field is empty.

image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions