You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2023/04/24 08:39:29 UTC

[myfaces-tobago] branch tobago-5.x updated (c9d72e69a9 -> 289419c174)

This is an automated email from the ASF dual-hosted git repository.

bommel pushed a change to branch tobago-5.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git


    from c9d72e69a9 build(deps-dev): bump selenium-java from 4.8.3 to 4.9.0
     new a399eb4a5c fix(selectOne|ManyList): Filtering should use itemLabel instead of itemValue issue: TOBAGO-2213
     new 289419c174 fix(selectOne|ManyList): Filtering should use itemLabel instead of itemValue issue: TOBAGO-2213

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 tobago-theme/tobago-theme-standard/src/main/js/tobago.js                | 2 +-
 tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map            | 2 +-
 .../tobago-theme-standard/src/main/ts/tobago-select-list-base.ts        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)


[myfaces-tobago] 02/02: fix(selectOne|ManyList): Filtering should use itemLabel instead of itemValue issue: TOBAGO-2213

Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bommel pushed a commit to branch tobago-5.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit 289419c17413ea8d2701d9e31abae632f17d2f01
Author: Bernd Bohmann <bo...@apache.org>
AuthorDate: Sun Apr 23 11:30:30 2023 +0200

    fix(selectOne|ManyList): Filtering should use itemLabel instead of itemValue
    issue: TOBAGO-2213
---
 tobago-theme/tobago-theme-standard/src/main/js/tobago.js     | 2 +-
 tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tobago-theme/tobago-theme-standard/src/main/js/tobago.js b/tobago-theme/tobago-theme-standard/src/main/js/tobago.js
index 58d3331a40..020e18bedf 100644
--- a/tobago-theme/tobago-theme-standard/src/main/js/tobago.js
+++ b/tobago-theme/tobago-theme-standard/src/main/js/tobago.js
@@ -4,7 +4,7 @@
       * Copyright 2011-2022 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
       * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
       */
-const Be="transitionend",Me=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let s=e.getAttribute("href");if(!s||!s.includes("#")&&!s.startsWith("."))return null;s.includes("#")&&!s.startsWith("#")&&(s=`#${s.split("#")[1]}`),t=s&&"#"!==s?s.trim():null}return t},Pe=e=>{const t=Me(e);return t&&document.querySelector(t)?t:null},$e=e=>{const t=Me(e);return t?document.querySelector(t):null},He=e=>{e.dispatchEvent(new Event(Be))},je=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&( [...]
+const Be="transitionend",Me=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let s=e.getAttribute("href");if(!s||!s.includes("#")&&!s.startsWith("."))return null;s.includes("#")&&!s.startsWith("#")&&(s=`#${s.split("#")[1]}`),t=s&&"#"!==s?s.trim():null}return t},Pe=e=>{const t=Me(e);return t&&document.querySelector(t)?t:null},$e=e=>{const t=Me(e);return t?document.querySelector(t):null},He=e=>{e.dispatchEvent(new Event(Be))},je=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&( [...]
 /**
      * @license
      * Copyright 2017 Google LLC
diff --git a/tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map b/tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map
index 7154f96bc2..7d4404047a 100644
--- a/tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map
+++ b/tobago-theme/tobago-theme-standard/src/main/js/tobago.js.map
@@ -1 +1 @@
-{"version":3,"file":"tobago.js","sources":["../ts/tobago-css.ts","../ts/tobago-bar.ts","../../../../node_modules/@popperjs/core/lib/enums.js","../../../../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../../../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../../../../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../../../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../../../../node_modules/@popperjs/core/lib/utils/getBasePlacement.j [...]
\ No newline at end of file
+{"version":3,"file":"tobago.js","sources":["../ts/tobago-css.ts","../ts/tobago-bar.ts","../../../../node_modules/@popperjs/core/lib/enums.js","../../../../node_modules/@popperjs/core/lib/dom-utils/getNodeName.js","../../../../node_modules/@popperjs/core/lib/dom-utils/getWindow.js","../../../../node_modules/@popperjs/core/lib/dom-utils/instanceOf.js","../../../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js","../../../../node_modules/@popperjs/core/lib/utils/getBasePlacement.j [...]
\ No newline at end of file


[myfaces-tobago] 01/02: fix(selectOne|ManyList): Filtering should use itemLabel instead of itemValue issue: TOBAGO-2213

Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

bommel pushed a commit to branch tobago-5.x
in repository https://gitbox.apache.org/repos/asf/myfaces-tobago.git

commit a399eb4a5c34907288591c71acc4a331b12e0c4a
Author: Bernd Bohmann <bo...@apache.org>
AuthorDate: Sun Apr 23 09:45:40 2023 +0200

    fix(selectOne|ManyList): Filtering should use itemLabel instead of itemValue
    issue: TOBAGO-2213
---
 .../tobago-theme-standard/src/main/ts/tobago-select-list-base.ts        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-list-base.ts b/tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-list-base.ts
index 705576fb73..a4117e55de 100644
--- a/tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-list-base.ts
+++ b/tobago-theme/tobago-theme-standard/src/main/ts/tobago-select-list-base.ts
@@ -175,7 +175,7 @@ export abstract class SelectListBase extends HTMLElement {
     let entriesCount = 0;
     if (filterFunction != null) {
       this.rows.forEach(row => {
-        const itemValue = row.dataset.tobagoValue;
+        const itemValue = row.cells.item(0).textContent;
         if (filterFunction(itemValue, searchString)) {
           row.classList.remove(Css.D_NONE);
           entriesCount++;