NRadio label
See original GitHub issueThis function solves the problem (这个功能解决的问题)
Now, we have NRadio API, when we must place label string inside default slot
<n-radio>My Label</n-radio>
Expected API (期望的 API)
To improve DX, we must have prop like label
in NCheckbox
component
Than we get
<n-radio label="My Label" />
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
<input type="radio"> - HTML: HyperText Markup Language
<input> elements of type radio are generally used in radio groups—collections of radio buttons describing a set of related options.
Read more >Using "label for" on radio buttons
Reason I ask is that in the second example, "label" is only encompassing the text and not the actual radio button. *Section 508...
Read more >HTML input type="radio"
The <input type="radio"> defines a radio button. Radio buttons are normally presented in radio groups (a collection of radio buttons describing a set...
Read more >How to Add a Label to HTML Radio Button
Radio button allows user to choose only one of the pre-defined options. Each radio button must be accompanied by a label describing the...
Read more >How to Create Radio Buttons in HTML [+ Examples]
First, the id attribute is a unique identifier for the <input> tag. It can be used as a CSS selector for the radio...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can take this issue for my first PR 😉
okay, great