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-8281: fixed selectData property for multiple select component #5592

Closed roma-formio closed 1 month ago

roma-formio commented 1 month ago

Link to Jira Ticket

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

Description

Fixed the issue regarding setting selectData property for the multiple select component.

Dependencies

https://github.com/formio/core/pull/93

How has this PR been tested?

Unit testing

Checklist:

roma-formio commented 1 month ago

It looks like your new tests are failing

Yes, they're failing because my changes depend on @formio/core validation changes for the URL Select Component. In the current version it's impossible to create the multiple URL select component with default value and my test is trying to do this.

brendanbond commented 1 month ago

It looks like your new tests are failing

Yes, they're failing because my changes depend on @formio/core validation changes for the URL Select Component. In the current version it's impossible to create the multiple URL select component with default value and my test is trying to do this.

Gotcha. FYI we've just introduced a CICD system that's pretty cool - your @formio/core PR automatically built and published a dev-tagged version of the core lib to NPM (2.0.0-dev.93.5a2c62c) so we can now update these dependencies in our PRs to make sure tests are passing! I've gone ahead and pushed an update to this PR to update the version of @formio/core.