> For the complete documentation index, see [llms.txt](https://help.adalo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.adalo.com/ja/how-to/how-to-make-a-list-your-users-can-filter.md).

# ユーザーがフィルタリングできるリストを作成する方法

アプリ内のリストをフィルタリングする方法を学びましょう！

{% embed url="<https://youtu.be/dflwpniED-s>" %}

\
まず、アプリにシンプルなリストの画面を追加してみましょう。次に、コンポーネントに移動して、シンプルなリストの上にドロップダウンメニューを追加します。\
チュートリアルでは、すでにデータベースを設定していますので、あなた自身のデータベースを設定するためには、以下の手順が必要です。\\

* 映画用のデータベースコレクションを作成します
* 映画コレクション内には、名前（テキスト）、画像（画像）のプロパティが必要です
* カテゴリ用の別のデータベースコレクションを作成します
* カテゴリコレクション内には、名前のプロパティが必要です。また、映画コレクションとの関係を作成します。これは「多対1」の関係であり、複数のカテゴリが1つの映画に属することを意味します。

\
それでは、シンプルなリストに戻り、映画コレクションにバインドしましょう。また、サブタイトルテキストを更新して、カテゴリ名のマジックテキストを表示します。次に、ドロップダウンメニューをカテゴリコレクションにバインドしましょう。\
次に、フィルターを設定する必要があります！\
シンプルなリストをクリックし、フィルター > すべての映画のところに、カスタムフィルターを追加しましょう。これにより、ユーザーが選択を行うと、ドロップダウンメニューの下に表示されるようになります。\
カスタムフィルターは次のように設定する必要があります：現在の映画 > カテゴリ > 名前が選択されたカテゴリ > 名前を含む\
以上で、シンプルなリストにフィルターが設定されました！

\
クローン可能なリンク → <https://previewer.adalo.com/a4dfdb82-ae59-4ad1-9fec-a9379e8e3c05>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.adalo.com/ja/how-to/how-to-make-a-list-your-users-can-filter.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
