Skip to content

Mode2 value isn't reset when Mode is unchecked #8357

Description

@AzureNightlock

Did you clear cache before opening an issue?

  • I have cleared my cache

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Does the issue happen when logged in?

Yes

Does the issue happen when logged out?

Yes

Does the issue happen in incognito mode when logged in?

Yes

Does the issue happen in incognito mode when logged out?

Yes

Account name

azurenightlock

Account config

No response

Current Behavior

When you click on share test settings and you select the Mode option and the Mode 2 option. Then unselect the Mode option, Mode 2 option remains selected.

Expected Behavior

When Mode is unselected, Mode 2 should also reset since if the test is not being shared with time selected, then the custom time duration for the said test should also be unselected

Steps To Reproduce

  1. Go to https://monkeytype.com/
  2. Hover over the time settings
  3. Click the arrow popup
  4. Select Mode and then Mode 2
  5. Unselect Mode

Environment

  • OS: Windows 11
  • Browser: Google Chrome
  • Browser Version: Version 151.0.7922.172 (Official Build) (64-bit)

Anything else?

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions