Commit 84183f7
feat(ui): Add hasExternalChanges prop to HybridFilter (#102957)
**Motivation**
I'm currently working on a global filter component that sets values for
filters using HybridFilter. However, I have an extra 'attribute' which
is the operator of the filter which is not being set through the
HybridFilter options, and instead within the custom body of the filter
(i.e. its state is managed externally). I would like my external changes
to also trigger the apply button, and once it is clicked, it triggers my
custom onChange handler that saves options + operator.
**Changes**
- Adds hasExternalChanges to hybrid filter so components are able to
externally trigger the apply button1 parent 6f6a139 commit 84183f7
1 file changed
+11
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
96 | 101 | | |
97 | 102 | | |
98 | 103 | | |
| 104 | + | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
115 | 121 | | |
116 | 122 | | |
117 | 123 | | |
118 | | - | |
119 | | - | |
| 124 | + | |
| 125 | + | |
120 | 126 | | |
121 | 127 | | |
122 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
123 | 131 | | |
124 | 132 | | |
125 | 133 | | |
| |||
0 commit comments