After finding a solution in this discussion, I was able to determine the selected state of a clicked option. My goal is to disable an input field based on the selection of a specific option. The current code allows me to enable or disable the input field when any option is checked or unchecked. However, I want to specifically disable the input field only if the second option (Mushroom) is unchecked. If the second option is checked, then the input field should be enabled. How can I achieve this?
Check out the example on StackBlitz