LaunchCodeEducation / LaunchCodeEducation/csharp-web-dev-curriculum

GA3 Starter Code Views/Search/Index.cshtml checked attribute non-functional

Open
#87 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
1
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Relevant Link

Code as written:
<input type="radio" name="searchType" id="@column.Key" value="@column.Key" checked="@column.Key == 'all'" />

Does not function, radio button defaults to "Skill"

Suggested change:
<input type="radio" name="searchType" id="@column.Key" value="@column.Key" checked="@(column.Key == "all")" />

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open TechJobsMVCAutograded6/Views/Search/Index.cshtml at the linked input and compare the checked expression with the suggested change. Verify that the Search view defaults the radio selection to “all” rather than “Skill”; no test command is mentioned.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
frontend
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.