cv-frontend-vue
cv-frontend-vue copied to clipboard
🐞 Bug: Cell Click and Circuit Generation in Combiantional Analysis option
Is there an existing issue for this?
- [x] I have searched the existing issues.
Describe the bug
The Boolean Logic Table component has broken cell click functionality and circuit generation fails. When users click on output cells to toggle values (x/0/1), the clicks don't register properly. Additionally, the "Generate Circuit" button throws errors due to missing data validation and improper handling of the truth table data.
Steps to Reproduce
1)Open combinational analysis dialog
2)Enter inputs and outputs
3)Click "Next" to show truth table
4)Try clicking output cells to change x/0/1 values
5)Click "Generate Circuit" button
6)Observe errors in console and failed circuit generation
Expected Behavior
https://github.com/user-attachments/assets/02d87ef3-a52c-49c5-8990-d41d57aa519f
Screenshots
Is the faced issue/bug related to the Vue simulator?
Yes
Used Vue simulator with or without backend?
None
Is the bug present only on the dev server, the build, or both?
None
Device Information
OS: Ubuntu
Browser: Chrome
Additional Context
No response
Are you working on this issue?
Yes