From 4c20406e011887c1cacfefeea1921c1fca4c1c81 Mon Sep 17 00:00:00 2001 From: Fabio Pliger Date: Tue, 7 May 2024 14:13:32 -0500 Subject: [PATCH] added msising attributes on the option Element. Tests are all passing now --- pyscript.core/src/stdlib/pyweb/ui/elements.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyscript.core/src/stdlib/pyweb/ui/elements.py b/pyscript.core/src/stdlib/pyweb/ui/elements.py index be8d0db4..f40a7872 100644 --- a/pyscript.core/src/stdlib/pyweb/ui/elements.py +++ b/pyscript.core/src/stdlib/pyweb/ui/elements.py @@ -640,6 +640,11 @@ class option(TextElementBase): tag = "option" + disabled = JSProperty("value") + label = JSProperty("label") + selected = JSProperty("selected") + value = JSProperty("value") + class output(TextElementBase): """Ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output"""