Skip to content

When leaving out attribute socialLink, the keystone post editor crashes #14

@pkellner

Description

@pkellner

If in the blog post that uses the testimonial content component, you remove the attribute for socialLink, the /keystatic editor fails saying "Field validation failed: content: Must be a string". I've looked over the schema and have no idea what could cause that.

https://github.com/Thinkmill/keystatic-demo-blog/blob/main/content/posts/biometric-authentication-how-it-works-and-why-it-s-more-secure-than-passwords/content.mdoc

works

{% testimonial
   quote="Biometric authentication provides a secure and convenient access. No more passwords to remember or steal. Just my face or fingerprint, easy and seamless."
   author="Stella Hawkins"
   workplaceOrSocial="Senior account manager"
   socialLink="https://google.com" /%}

broken:

{% testimonial
   quote="Biometric authentication provides a secure and convenient access. No more passwords to remember or steal. Just my face or fingerprint, easy and seamless."
   author="Stella Hawkins"
   workplaceOrSocial="Senior account manager"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions