Good day team,
This constant label is hard corded so it is not getting translated into different languages. I tried adding items into json files, and put the key for the label does not get translated as expected. On a separate note, the one below highlighted in green is working so wondering whether there additional changes needed to get translation working?
Issue 1:=>
export const SECTION_LICENSE_FORM_MODEL = [
{
id: 'granted',
label: 'I confirm the license above (required)',
required: true,
value: false,
validators: {
required: null
},
errorMessages: {
required: 'You must accept the license',
notgranted: 'You must accept the license'
},
type: 'CHECKBOX',
}
];
CURRENTLY WORKS THE TRANSLATION EXAMPLE BELOW:=>
export const BITSTREAM_FORM_ACCESS_CONDITION_TYPE_CONFIG: DynamicSelectModelConfig<any> = {
id: 'name',
label: 'submission.sections.upload.form.access-condition-label',
options: []
};
Issue 2:
Once the checkbox is selected to "I confirm the license the checkbox becomes not visible.
Hope to get another soon, or help on both of the issues.
Regards
Pragash