Skip to content

Add AllowManualEntry for select result options#2898

Open
nnpvaan wants to merge 2 commits into
senaite:2.xfrom
nnpvaan:feature/add-allow-manual-entry-for-other-option
Open

Add AllowManualEntry for select result options#2898
nnpvaan wants to merge 2 commits into
senaite:2.xfrom
nnpvaan:feature/add-allow-manual-entry-for-other-option

Conversation

@nnpvaan
Copy link
Copy Markdown
Contributor

@nnpvaan nnpvaan commented May 11, 2026

Description of the issue/feature this PR addresses

This PR add AllowManualEntry support for select result options, so manual free-text can be entered for specific predefined options during result capture.

Current behavior before PR

  • For select result types, users can only pick predefined values.
  • There is no per-option way to allow manual free-text input when a specific option is selected.

Desired behavior after PR is merged

  • ResultOptions supports AllowManualEntry per option.
  • When a selected option has AllowManualEntry = True, a text input is shown in result capture.
  • Entered free text is saved as the analysis result.
  • For options without AllowManualEntry, behavior remains unchanged.

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@nnpvaan nnpvaan changed the title Added AllowManualEntry for select result options Add AllowManualEntry for select result options May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant