formio / formio.js

JavaScript powered Forms with JSON Form Builder
https://formio.github.io/formio.js
MIT License
1.83k stars 1.04k forks source link

FIO-8234: Fixes an issue where Select with Resource data source renders values instead of labels in the read only mode #5620

Closed alexandraRamanenka closed 1 month ago

alexandraRamanenka commented 1 month ago

Link to Jira Ticket

https://formio.atlassian.net/browse/FIO-8234

Description

In the read only mode we are not fetching data from remote sources like URL and resource, so the Select components renders value, so I made use saved select metadata to render the labels properly Why have you chosen this solution?

Although there were many potential solutions such as ..., [my solution] was best because ...

Dependencies

This PR depends on the following PRs from other Form.io modules: ...

How has this PR been tested?

I added automated tests to cover [all/the following] cases, including ...

Checklist: