Details
-
Story
-
Status: Closed (View Workflow)
-
P3
-
Resolution: Done
-
None
-
customfield_11100 36778
-
eHoldings Sprint 92, eHoldings Sprint 93
-
3
-
Spitfire
Description
As a librarian
I want to be able to remove an option that is no longer valid
Requirements
- applies to the custom field input types with options: single select, multi-select, and radio button
- do not display a delete button if value has been saved to a record
- deletion is executed when user clicks Save button
- confirm deletion of an option on delete field data modal
Acceptance criteria
Given multi-select / single select option A is NOT set to default
AND Option A has not been saved to any record
When I click the delete button
Then remove the option
Given radio button option A has not been saved to any record
When I click the delete icon
Then remove the option
IF multi-select / single select option A is set to default
AND it is the only option set to default
AND option A has not been saved to any record
When I click the delete button
Then set default option to No default set
IF multi-select option A and option C are set to default
AND option A and option C have not been saved to any record
When I click the delete button on option A
Then only option C should remain set to default
IF multi-select option A and option C are set to default
AND option A and option C have not been saved to any record
When I click the delete button on option A AND option C
Then both options A and C should be removed
AND no default should be set
If multi-select/single select/radio button option A have been saved to a record
Then do not display a delete button
Given I have deleted a multi-select/single select/radio button option
When I click the Save
Then display on the delete modal the following [Deleting the field <<custom field name>> 's option <<option name>>. No data stored for this option.
TestRail: Results
Attachments
Issue Links
- defines
-
MODCFIELDS-62 Incorrect multiselect options usage stats returned from back-end
-
- Closed
-
- relates to
-
UXPROD-2289 Q3 2020 | Custom Fields (for User Record and as General Platform Feature) Development
-
- Closed
-