FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

Select one many checkbox fix

Merged Jason Allen requested to merge select_one_many_checkbox_fix into main
7 files
+ 23
40
Compare changes
  • Side-by-side
  • Inline
Files
7
@@ -54,7 +54,9 @@ class SelectManyCheckbox(AbstractComponent):
def toggle(self, *indices):
for index in indices:
_checkbox = self._checkboxes[index]
_input = _checkbox.find_element(by=By.TAG_NAME, value="input")
_input = _checkbox.find_element(
by=By.XPATH, value=".//div[starts-with(@class, 'ui-chkbox')]"
)
if self.is_ajaxified("onchange", _input):
PrimefacesSelenium(self.web_driver).guard_ajax(_checkbox.click)
else:
Loading