Fix checkbox/radio list button interference #24

Merged
BobdaFett merged 2 commits from fix/checkbox-interference into main 2025-11-23 22:14:28 +00:00
BobdaFett commented 2025-11-23 22:13:50 +00:00 (Migrated from github.com)

Checkbox and radio lists were interfering with each other as their internal Checkbox or Radio components had the same name, meaning that web browsers couldn't figure out which list to interact with.

I've created a new function called create_unique_id that does exactly this - it takes the name of the overall checkbox/radio list and the value of that specific button and creates a unique id from it.

This PR closes #7.

Checkbox and radio lists were interfering with each other as their internal `Checkbox` or `Radio` components had the same name, meaning that web browsers couldn't figure out which list to interact with. I've created a new function called `create_unique_id` that does exactly this - it takes the name of the overall checkbox/radio list and the value of that specific button and creates a unique id from it. This PR closes #7.
meraghon (Migrated from github.com) approved these changes 2025-11-23 22:14:21 +00:00
Sign in to join this conversation.