Skip to content

Commit 4c20406

Browse files
committed
added msising attributes on the option Element. Tests are all passing now
1 parent 7c1a0d1 commit 4c20406

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pyscript.core/src/stdlib/pyweb/ui/elements.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,11 @@ class option(TextElementBase):
640640

641641
tag = "option"
642642

643+
disabled = JSProperty("value")
644+
label = JSProperty("label")
645+
selected = JSProperty("selected")
646+
value = JSProperty("value")
647+
643648

644649
class output(TextElementBase):
645650
"""Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output"""

0 commit comments

Comments
 (0)