Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(radio): add pf-radio #2882

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
docs(radio): clean up demo
bennypowers committed Nov 27, 2024

Verified

This commit was created on github.com and signed with GitHub’s verified signature.
commit 95be15a5afed6310269039a9132a9f28f4bf8716
16 changes: 8 additions & 8 deletions elements/pf-radio/demo/pf-radio.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<section class='container'>
<section class="container">
<p> Select a title </p>
<div class='radio-group'>
<pf-radio id="title-mr" value='mr' label="Mr" name="title" checked=${false}></pf-radio>
<pf-radio id="title-miss" value='miss' label="Miss" name="title" checked=${false}></pf-radio>
<pf-radio id="title-mrs" value='mrs' label="Mrs" name="title" checked=${false}></pf-radio>
<pf-radio id="title-ms" value='ms' label="Ms" name="title" checked=${false}></pf-radio>
<pf-radio id="title-dr" value='dr' label="Dr" name="title" checked=${false}></pf-radio>
<pf-radio id="title-other" value='other' label="Other" name="title" checked=${false}></pf-radio>
<div class="radio-group">
<pf-radio id="title-mr" value="mr" label="Mr" name="title"></pf-radio>
<pf-radio id="title-miss" value="miss" label="Miss" name="title"></pf-radio>
<pf-radio id="title-mrs" value="mrs" label="Mrs" name="title"></pf-radio>
<pf-radio id="title-ms" value="ms" label="Ms" name="title"></pf-radio>
<pf-radio id="title-dr" value="dr" label="Dr" name="title"></pf-radio>
<pf-radio id="title-other" value="other" label="Other" name="title"></pf-radio>
</div>
<pf-button> Submit</pf-button>
</section>