Skip to content

Commit

Permalink
docs: fixing validation config on text field in embedded walkthrough (k…
Browse files Browse the repository at this point in the history
  • Loading branch information
mzaien authored and bladey committed Dec 16, 2021
1 parent 671e966 commit a62cec4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ import { text } from '@keystone-6/core/fields';

const Post = list({
fields: {
title: text({ isRequired: true }),
title: text({ validation: { isRequired: true } }),
slug: text({ isIndexed: 'unique', isFilterable: true }),
content: text(),
},
Expand Down

0 comments on commit a62cec4

Please sign in to comment.