8000 Add shoelace radio component by aaskat · Pull Request #1961 · pyscript/pyscript · GitHub
[go: up one dir, main page]

Skip to content

Add shoelace radio component #1961

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

Merged
merged 2 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 1, 2024
commit 9f864706a87986e3e9f6e4724d0bbc71fff88b1e
7 changes: 3 additions & 4 deletions pyscript.core/src/stdlib/pyweb/ui/shoelace.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,14 +380,13 @@ class Radio(ShoeBase):
size = js_property("size")
disabled = js_property("disabled")
update_complete = js_property("updateComplete")

def __init__(
self, value=None, size=None, disabled=None, style=None, **kwargs
):

def __init__(self, value=None, size=None, disabled=None, style=None, **kwargs):
super().__init__(
value=value, size=size, disabled=disabled, style=style, **kwargs
)


# Load resources...
CSS = """
.card-overview {
Expand Down
2 changes: 1 addition & 1 deletion pyscript.core/test/ui/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
Dialog,
Divider,
Icon,
Radio,
Rating,
Radio
)

LOREM_IPSUM = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat."
Expand Down
0