From fcaf9893bd91f1af9626463ffe4cb84f60c757da Mon Sep 17 00:00:00 2001 From: Anatoly Kopyl <33553182+anatolykopyl@users.noreply.github.com> Date: Mon, 23 Jun 2025 05:49:12 +0300 Subject: [PATCH] docs: filterOptions anchor link fix (#12883) ### What? Fixes anchor links leading to [`filterOptions`](https://payloadcms.com/docs/fields/select#filteroptions) ### How? Replaced camel case with lower case. --- docs/fields/select.mdx | 2 +- docs/query-presets/overview.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/fields/select.mdx b/docs/fields/select.mdx index 6983dd088..07cd04e56 100644 --- a/docs/fields/select.mdx +++ b/docs/fields/select.mdx @@ -54,7 +54,7 @@ export const MySelectField: Field = { | **`enumName`** | Custom enum name for this field when using SQL Database Adapter ([Postgres](/docs/database/postgres)). Auto-generated from name if not defined. | | **`dbName`** | Custom table name (if `hasMany` set to `true`) for this field when using SQL Database Adapter ([Postgres](/docs/database/postgres)). Auto-generated from name if not defined. | | **`interfaceName`** | Create a top level, reusable [Typescript interface](/docs/typescript/generating-types#custom-field-interfaces) & [GraphQL type](/docs/graphql/graphql-schema#custom-field-schemas). | -| **`filterOptions`** | Dynamically filter which options are available based on the user, data, etc. [More details](#filterOptions) | +| **`filterOptions`** | Dynamically filter which options are available based on the user, data, etc. [More details](#filteroptions) | | **`typescriptSchema`** | Override field type generation with providing a JSON schema | | **`virtual`** | Provide `true` to disable field in the database, or provide a string path to [link the field with a relationship](/docs/fields/relationship#linking-virtual-fields-with-relationships). See [Virtual Fields](https://payloadcms.com/blog/learn-how-virtual-fields-can-help-solve-common-cms-challenges) | diff --git a/docs/query-presets/overview.mdx b/docs/query-presets/overview.mdx index e35577a9b..7c4ab8c5d 100644 --- a/docs/query-presets/overview.mdx +++ b/docs/query-presets/overview.mdx @@ -207,4 +207,4 @@ const config = buildConfig({ }) ``` -The `filterConstraints` function receives the same arguments as [`filterOptions`](../fields/select#filterOptions) in the [Select field](../fields/select). +The `filterConstraints` function receives the same arguments as [`filterOptions`](../fields/select#filteroptions) in the [Select field](../fields/select).