Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add examples for object-selection fields

Đang mở
#39 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@pheus đang làm issue này rồi.

Từ ngày 29/10/2026.

  • #86 của @pheus — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
72/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
documentation

Hướng nghiên cứu

Start in docs/user-guide/authoring.md and review the existing reference for ObjectVar and MultiObjectVar options. Add working examples covering context labels, dependent query_params, the advanced selector, quick-add, optional selections, permissions, displayed labels versus submitted IDs, and the existing URL-prefilling mechanism; done means the examples use supported API response fields and keep Copy link and unreleased attribute references separate.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

app: scripts status: accepted type: documentation
Change Type

Addition

Proposed Changes

Expand docs/user-guide/authoring.md with working ObjectVar and MultiObjectVar examples. Cover context labels, dependent query_params, the advanced selector, and quick-add.

Use fields available in supported API responses. Explain displayed labels versus submitted IDs, optional selections, and the permissions needed to view or create related objects.

Include a short URL-prefilling example using the existing mechanism. Keep it distinct from the proposed Copy link action, and do not present attribute references such as $prefix.prefix as available before that feature ships.

The reference lists these options, but examples would make them easier to combine without adding another configuration API.

Related request: netbox-community/netbox#15595.

Ngôn ngữ chính
Python
Star
8
Fork
0
Merge trung bình
14 giờ 51 phút
Pull request đã merge (30 ngày)
11

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của netbox-community/netbox-scripts

Tất cả issue của netbox-community/netbox-scripts

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.