handle-modus-checkbox-value-bug

Community

Fix Modus checkbox state reliably.

Authorjulianoczkowski
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The ModusWcCheckbox value inversion bug causes target.value to reflect the opposite of the actual checked state, leading to incorrect form state.

Core Features & Use Cases

  • Invert the raw value from ModusWcCheckbox events before updating UI state.
  • Provide a robust pattern for React components using Modus2.0 ModusCheckbox wrappers to ensure consistent behavior.
  • Document the workaround and guard against double inversion in wrappers or consumer code.

Quick Start

Integrate the inversion workaround in your checkbox event handling and verify correct state updates in your form.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: handle-modus-checkbox-value-bug
Download link: https://github.com/julianoczkowski/create-trimble-app/archive/main.zip#handle-modus-checkbox-value-bug

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.