Commit e373893
committed
bug #7240 setDefaultColumns didn't work on ChoiceField if CustomOption Widget Autocomplete is set (Patrick Perry)
This PR was merged into the 4.x branch.
Discussion
----------
setDefaultColumns didn't work on ChoiceField if CustomOption Widget Autocomplete is set
fix #7239
just check if value is not set before, to avoid breaking projects that specifically rely on the classes.
An alternative would be to delete the line.
Commits
-------
9e3cfe2 check if already a defaultColumns exist before overwritting customized one.1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
0 commit comments