Skip to content

Commit

Permalink
add documentation reference for fields.integer
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Nov 23, 2022
1 parent 4cb2bc4 commit a926dd0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/pages/docs/guides/document-fields.md
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,9 @@ component({
`@keystone-6/core/component-blocks` ships with a set of form fields for common purposes:

- `fields.text({ label: '...', defaultValue: '...' })`
{% if $nextRelease %}
- `fields.integer({ label: '...', defaultValue: '...' })`
{% /if %}
- `fields.url({ label: '...', defaultValue: '...' })`
- `fields.select({ label: '...', options: [{ label:'A', value:'a' }, { label:'B', value:'b' }] defaultValue: 'a' })`
- `fields.checkbox({ label: '...', defaultValue: false })`
Expand Down Expand Up @@ -869,4 +872,4 @@ heading="Document Field Demo"
href="/docs/guides/document-field-demo" %}
Test drive the many features of Keystone’s Document field on this website.
{% /well %}
{% /related-content %}
{% /related-content %}

0 comments on commit a926dd0

Please sign in to comment.