The first option from the list of options is selected by default. I think @anthony is referring to the following scenario: Select a file. Viewed 19k times 5. For an HTML element attribute named @on{EVENT} (for example, @onclick) with a delegate-typed value, a Razor component treats the attribute's value as an event handler. Sign In; Menu. This question already has answers here: The onclick event does not work for options (5 answers) Closed 6 years ago. Connect with a qualified Hypnotherapist in Great Gaddesden. An option field is hidden by default whenever the user picks a choice. This event is limited to fields and