@eturnity/eturnity_reusable_components 9.19.10 → 9.19.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eturnity/eturnity_reusable_components",
3
- "version": "9.19.10",
3
+ "version": "9.19.11",
4
4
  "files": [
5
5
  "dist",
6
6
  "src"
@@ -155,6 +155,7 @@
155
155
  <DropdownCheckboxContainer
156
156
  v-for="(filterOption, optionIdx) in filter.choices"
157
157
  :key="optionIdx + 'optionIdx'"
158
+ :data-value="selectOptionDomDataValue(filterOption.choice)"
158
159
  @click.stop
159
160
  >
160
161
  <Checkbox
@@ -773,6 +774,13 @@
773
774
  isDateSelector(type) {
774
775
  return type === 'datetime' || type === 'date_range'
775
776
  },
777
+ /** Align with RC Select Option `domDataValue` so dropdown search can find rows via `[data-value]`. */
778
+ selectOptionDomDataValue(choice) {
779
+ if (choice === null || choice === undefined) {
780
+ return '__rc_select_null__'
781
+ }
782
+ return String(choice)
783
+ },
776
784
  },
777
785
  }
778
786
  </script>