# Drop down - Select

Select là tính năng tạo ra danh sách lựa chọn cho người dùng chọn và họ chỉ được chọn 1 lựa chọn duy nhất.\
Bạn lưu ý, **Drop down** luôn phải kèm theo **Model** để lưu trữ dữ liệu người dùng.

Ví dụ bạn cần tạo ra danh sách Thành phố, quận huyện ... cho người dùng chọn. Sau đó lưu lại thông tin người dùng đã chọn bạn có thể làm theo các bước sau.

Bước 1: Tạo 1 Model để lưu trữ dữ liệu người dùng. \
Ở giao diện **Appon** chọn Dữ liệu -> Thêm trang tính -> Nhập tên dữ liệu (Khuvuc) -> Thêm. \
Sau khi tạo xong Model bạn bấm vào Model đó thêm những các trường cần thiết \
( Trường "thanhpho" là trường để hiển thị thông tin cho khách chọn, còn trường "luuthanhpho" là để lưu lại thông tin khách hàng chọn)

![Tạo model chứa các trường cần thiết](/files/QiT7BvCHPyFh7i05ubpN)

Bước 2: Bạn vào phần **Khối** -> kéo xuống tới mục **Selection** -> kéo biểu tượng **Drop down** ra màn hình bạn muốn tạo.

![Kéo Drop down ra màn hình để sử dụng](/files/HsCn2tHNVYy9kRTmrgWv)

Bước 3: Cấu hình cho **Drop down :**\
Bấm vào **Drop down** muốn cài đặt cấu hình -> chọn "Hành động" <br>

![Cấu hình Drop down](/files/M6UUmgzhZARDoR8bGjtK)

Bước 4: Publish và kiểm tra tính năng

![Kết quả chọn hiển thị](/files/NusGzuVqDLeMZsE3SCjv)


---

# Agent Instructions: 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:

```
GET https://tailieu.appon.vn/huong-dan-co-ban/basic-use-block/su-dung-chuc-nang-block-select.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
