FOUR-32670: Preserve Select List state during responsive changes - #1929
FOUR-32670: Preserve Select List state during responsive changes#1929eiresendez wants to merge 3 commits into
Conversation
Refs: FOUR-32670
screen-builder
|
||||||||||||||||||||||||||||||||||||||||
| Project |
screen-builder
|
| Branch Review |
task/FOUR-32670
|
| Run status |
|
| Run duration | 42m 13s |
| Commit |
|
| Committer | Eleazar Resendez |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
2
|
|
|
0
|
|
|
19
|
|
|
0
|
|
|
392
|
| View all changes introduced in this branch ↗︎ | |
Tests for review

ComputedFields.spec.js • 1 failed test • CI - Chrome
| Test | Artifacts | |
|---|---|---|
| Computed fields > Focuses the first field that has an error |
Test Replay
Screenshots
|
|

DefaultValues.spec.js • 1 failed test • CI - Chrome
| Test | Artifacts | |
|---|---|---|
| Default values > Javascript default value |
Test Replay
Screenshots
|
|
Refs: FOUR-32670
|
QA server K8S was successfully deployed https://ci-794a772021.engk8s.processmaker.net |
|
|
The code looks good. No observations. |
Refs: FOUR-32670
|
QA server K8S was successfully deployed https://ci-794a772021.engk8s.processmaker.net |
|
I reran the failed checks, but these failures are unrelated to the changes in this PR. The same intermittent Cypress/Vite issue has occurred in other Screen Builder PRs, where the app sometimes does not render and tests time out waiting for common UI elements. This CI stability issue should be addressed in a separate ticket outside the scope of this PR, so please disregard these failed checks when merging the changes here. |





Issue & Reproduction Steps
Expected behavior: A Data Connector-backed Select List keeps its selected label, loaded options, and scalar screen-data value when switching between desktop and mobile widths.
Actual behavior: Crossing the 480 px breakpoint updated the structural screen definition, rebuilt the generated screen, remounted the Select List, and repeated its
ListAllrequest. The selected scalar value remained in screen data, but its label disappeared while options reloaded.Reproduction:
Solution
ListAllrequest.How to Test
Validation completed:
LoopSelectList.spec.js: 3 passing, including responsive invalid -> valid -> invalid coverage.DeviceVisivilityInspector.spec.js: 22 passing.VisibilityRule.spec.js: 3 passing.npm run build-bundle: passed.distcopied into ProcessMaker Core andnpm run dev: passed.ListAllrequests.Local toolchain notes:
npm run lintcannot start becausevue-cli-serviceis not installed by the current package manifest; direct ESLint also reports existing repository-wide lint debt.Related Tickets & Packages
vue-form-elementschanges were required.ci:deploy