Make fields read-only when Collect external app functionality is configured

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

Chưa có ai nhận issue này.

Đá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
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
frontend, web-dev

Hướng nghiên cứu

Start by reading the linked Collect external-app documentation to understand the single-value appearance and multiple-value intent attribute configurations, then locate how Web Forms determines field editability. Done means affected fields are read-only when either configuration is present, with coverage for both cases in the test plan requested by the issue.

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

Mô tả

Description

Collect has two ways to configure external app launch: an appearance for returning a single value and an intent attribute for returning multiple values.

We don't have any plans to support these in Web Forms but one thing we could do to better match the intent of the form is to make the affected field(s) read-only. That would be more useful for both cross-platform forms and edits. For cross-platform forms, users may use query parameter defaults for Web Forms to push values in where they would call out to an app with Collect.


Checklist
  • Does it need UI/UX design?
    • Yes. Describe the UI/UX requirements or attach a Figma link in the "Design" section.
    • No
  • Does it need API design?
    • Yes. Specify the endpoints, methods, or data structures needed.
    • No
  • Does it need design around state flow?
    • Yes. Outline the state flow requirements.
    • No
  • Does it need a test plan?
    • Yes. Add the test plan as a comment in this task or attach the document.
    • No

User Stories
  • As a [user type],
    I want [functionality],
    so that [benefit].

Design
  • Figma: [Insert URL]
  • Design Docs: [Insert URL]

Dependencies

Additional Notes

Related Issues
Ngôn ngữ chính
TypeScript
Star
38
Fork
24
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

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 getodk/web-forms

Tất cả issue của getodk/web-forms

Issue tương tự

Thêm issue về TypeScript

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.