JavaScript for WordPress Forums Gutenberg Development 08-form-fields error adding block

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #44869
    ImmediateMedia
    Participant

    Hi,

    I’m getting an error adding the form field block to a post. “This block has encountered an error and cannot be previewed.”

    All the other blocks work.

    I’m running WP 4.9.4 with the Gutenberg plugin 2.5.0 and this commit of the block examples plugin. I note your commit messages ref V2 but the version in package.json is still 1.0.0, tut tut;-)

    Thanks,

    Steve

    #44895
    Zac Gordon
    Keymaster

    Hi Steve!

    Just posted a patch that should resolve the issue. Looks like was just missing destructuring isSelected. Please let me know how it goes for you now.

    You may also want to update to Gutenberg 2.6.0 👍

    Thanks for this catch! Let me know if you have any issues still.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.