Code-Type Custom Fields Become Uneditable (in Course Context)

Hi @Ali @sandra

I am creating custom fields in the Course context using the Code field type.

Initially, everything works as expected. However, after adding a second custom field of type Code, the field becomes uneditable in the UI.

Interestingly, the behavior appears inconsistent—depending on the heading/group the field is placed under, it may become editable again. This suggests there may be an issue with how Code-type fields are handled or rendered in certain contexts.

This appears to be a bug. Please see the attached screenshots for reference.

I would appreciate it if you could investigate this issue.

Thanks.