Commit a116418
authored
Fix override of
c014cf1 changed the value of the
`DEFAULT_PATTERN` constant in `Searchbar/ValidatedTerm`, there is an
override of this constant in `TermInput/ValidatedTerm`, which previously
used the same value anyway.
Since `Searchbar/ValidatedTerm::getPattern()` uses `self` to access the
constant the override has no effect and entering invalid values in a
`TermInput` no longer shows the expected error message. Using `static`
should fix this problem.Searchbar/ValidatedTerm::DEFAULT_PATTERN (#357)File tree
2 files changed
+3
-3
lines changed- src
- Control/SearchBar
- FormElement/TermInput
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments