Feature: Enhancements to the 'Select' component - Expanded operator options for simple conditionals with number type.
Solution: The solution maintains backward compatibility and is designed for easy extensibility. This is achieved by specifying additional properties in the conditionOperatorsSettingsgetter, which are related to the type. This approach allows us to easily manage available operators and modify the value component type. Further control over the operator and value component will be managed by the premium library. No specific handling is required for new operators as they function as expected.
How has this PR been tested?
Unit Tests: Unit tests have been conducted to verify conditional rendering based on the number operator.
Integration Testing: The commit has been cherry-picked to the 4.19x branch and linked to the formio-app and premium for integration testing, confirming the feature works as expected.
Checklist:
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (if applicable)
[x] My changes generate no new warnings
[x] My changes include tests that prove my fix is effective (or that my feature works as intended)
[x] New and existing unit/integration tests pass locally with my changes
[ ] Any dependent changes have corresponding PRs that are listed above
Link to Jira Ticket
https://formio.atlassian.net/browse/FIO-8072
Description
Feature: Enhancements to the 'Select' component - Expanded operator options for simple conditionals with number type.
Solution: The solution maintains backward compatibility and is designed for easy extensibility. This is achieved by specifying additional properties in the
conditionOperatorsSettings
getter, which are related to the type. This approach allows us to easily manage available operators and modify the value component type. Further control over the operator and value component will be managed by the premium library. No specific handling is required for new operators as they function as expected.How has this PR been tested?
Unit Tests: Unit tests have been conducted to verify conditional rendering based on the number operator.
Integration Testing: The commit has been cherry-picked to the 4.19x branch and linked to the formio-app and premium for integration testing, confirming the feature works as expected.
Checklist: