Closed drieJAC closed 4 months ago
In Apply the topic of an additional working preference is used to get an id for an input but the topic is not a required field. If we fix it to use an empty string when a topic is not present then this causes a bug on the Apply review screen.
See AdditionalWorkingPreferences.vue in Apply:
getSelectionInputId(additionalWorkingPreference, index) { return `additional-working-preference-${getDataWelshId(additionalWorkingPreference.topic)}-${index}`; },
Also see FinalCheck.AdditionalWorkingPreferences.vue in Apply:
<ul class="govuk-list"> <li :data-welsh="getDataWelsh(vacancy.additionalWorkingPreferences[index].topic, item.selection)"> {{ item.selection }} </li> </ul>
In Apply the topic of an additional working preference is used to get an id for an input but the topic is not a required field. If we fix it to use an empty string when a topic is not present then this causes a bug on the Apply review screen.
See AdditionalWorkingPreferences.vue in Apply:
Also see FinalCheck.AdditionalWorkingPreferences.vue in Apply: