Categories
October Surprise 2024

show and hide fields according to dropdown list in ReactJS

As you can see, the current code does not work, since it will only allow to have 2 states, show by default the panther ones and if another option is selected it will only show the tiger one, but the lion fields are never shown.