const classafBounce::SelectBox
sys::Obj afBounce::Element afBounce::SelectBox
(HTML Element) Represents a form <select> element.
- disabled
Bool disabledGets and sets the
disabledattribute.- enabled
Bool enabledGets and sets the
disabledattribute (inverted).- findElem
protected virtual override XElem findElem()- makeFromCss
new makeFromCss(Str cssSelector)- name
Str name()Returns the
nameattribute.- optionByText
Option? optionByText(Obj value)Return the option element with the given text (display value). Returns
nullif a match could not be found.- optionByValue
Option? optionByValue(Obj value)Return the option element with the given value. Returns
nullif a match could not be found.- options
Option[] options()Return all option elements under this select.
- selected
Option? selected()Return the currently selected option element. Returns
nullif no option is checked.- verifySelectedValueEq
Void verifySelectedValueEq(Obj expected)Verify that the value of the checked option is equal to the given