Describe the story
Provide a clear description of the new feature or improvement to existing functionality.
Currently the Toggle component permits only boolean on true and off false values when integrated with a form. Update the Toggle to allow for the "on" and "off" values to be provided as component properties. The values may be of type:
Acceptance criteria
Provide clear acceptance criteria to validate the story is complete.
Gherkin syntax example:
GIVEN a Toggle has supplied on and off values
WHEN the Toggle is set to "on"
THEN the form context is updated to contain the supplied on value
WHEN the Toggle is set to "off"
THEN the form context is updated to contain the supplied off value
Additional context
Add any other context about the story here.
Describe the story
Provide a clear description of the new feature or improvement to existing functionality.
Currently the
Togglecomponent permits only boolean ontrueand offfalsevalues when integrated with a form. Update the Toggle to allow for the "on" and "off" values to be provided as component properties. The values may be of type:Acceptance criteria
Provide clear acceptance criteria to validate the story is complete.
Gherkin syntax example:
GIVEN a Toggle has supplied on and off values
WHEN the Toggle is set to "on"
THEN the form context is updated to contain the supplied on value
WHEN the Toggle is set to "off"
THEN the form context is updated to contain the supplied off value
Additional context
Add any other context about the story here.