Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't add new document from post #49

Closed
DirtyF opened this issue Apr 21, 2021 · 1 comment
Closed

Can't add new document from post #49

DirtyF opened this issue Apr 21, 2021 · 1 comment

Comments

@DirtyF
Copy link
Contributor

DirtyF commented Apr 21, 2021

Given I'm on the post page
When I click on Add Document and fillup the form
Then I get a console error and the document is not created

CleanShot 2021-04-21 at 18 26 42@2x

@Enigmatical
Copy link
Contributor

Enigmatical commented Apr 27, 2021

Hi @DirtyF,

Sorry for the delay in responding to this. You actually encountered this issue around the same time I was putting up a "fix" for it. The issue actually lies with the most recent patch to final-form@4.20.2 which introduced a bug with asynchronous validation:
final-form/final-form#408

Our fix for the starter is to lock (resolutions) the version of final-form @ 4.20.1:
https://github.com/tinacms/tina-cloud-starter/pull/45/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519

The plan is to remove that lock once final-form has solved the issue on their end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants