|
As a librarian
I want to select a custom field's input type
So that I can manage how the date is stored and entered
Requirements
- Display an option that allows you to select the input type from a list
- Type: Button that opens a list
- Values in the input types list: radio button, single checkbox, dropdown, textbox, textarea
- Default: None
- Once data has been entered/selected to/for the custom field then user cannot change the input type of a custom field.
- Assume that when user selects an input type that the applicable stripes component is selected for use
- Rough Screenshot: https://sketch.cloud/s/lw9bd/a/98vkZn
Acceptance Criteria
Given I want to create a custom field
When I click on the type dropdown
Then display all input types options
Given I select the input type = radio button
When I hit save
Then the stripes-component for radio button should selected and display on the applicable record
Given I created the custom field [Patron RefID]
WITH the input type = single checkbox
AND no data has been entered/populated for that field on any record
WHEN I edit the input type to multi-select checkbox
THEN I should be allowed to save the update thus changing the input type.
Given I created the custom field [Patron RefID]
WITH the input type = single checkbox
WHEN data has been entered/populated for that field on any record
THEN I am unable to change the input type
|