inferno-framework / inferno-core

Core library for the Inferno Framework
https://inferno-framework.github.io/
Apache License 2.0
26 stars 5 forks source link

FI-2685: Allow locking individual checkboxes #522

Open AlyssaWang opened 3 weeks ago

AlyssaWang commented 3 weeks ago

Summary

If list_options are passed through to checkbox inputs with individual locked: true fields, then they will be disabled in the inputs dialog.

Testing Guidance

New tests are up in the demo suite for checkbox variations.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 84.02%. Comparing base (2314a5c) to head (cc8929c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #522 +/- ## ========================================== + Coverage 84.00% 84.02% +0.01% ========================================== Files 260 260 Lines 11361 11372 +11 Branches 1252 1254 +2 ========================================== + Hits 9544 9555 +11 Misses 1807 1807 Partials 10 10 ``` | [Flag](https://app.codecov.io/gh/inferno-framework/inferno-core/pull/522/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inferno-framework) | Coverage Δ | | |---|---|---| | [backend](https://app.codecov.io/gh/inferno-framework/inferno-core/pull/522/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inferno-framework) | `92.13% <100.00%> (+0.01%)` | :arrow_up: | | [frontend](https://app.codecov.io/gh/inferno-framework/inferno-core/pull/522/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inferno-framework) | `79.32% <100.00%> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=inferno-framework#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.