Page MenuHomePhabricator

Use optionalFlag prop in Codex field for informing the user that a field input is optional
Closed, ResolvedPublic

Description

Now that we are using Codex fields for the form inputs (T345815) it would also make sense to use the built-in optionalFlag prop to inform the user that a specific field is optional. The reason to do this change is to be consistent with other UIs built with Codex and to minimize overrides and custom code for maintainability.

Current:

image.png (278×984 px, 27 KB)

Proposed:

image.png (278×984 px, 27 KB)

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 959601 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/ReportIncident@master] form: Use optionalFlag prop

https://gerrit.wikimedia.org/r/959601

kostajh renamed this task from Use optional-flag in Codex field for informing the user that a field input is optional to Use optionalFlag prop in Codex field for informing the user that a field input is optional.Sep 21 2023, 7:10 AM

Change 959601 merged by jenkins-bot:

[mediawiki/extensions/ReportIncident@master] form: Use optionalFlag prop

https://gerrit.wikimedia.org/r/959601