Commit d031e79
fix(angular/dialog): return
This is done to be consistent with the behavior when clicking `ESCAPE`. Before, an empty string was returned as a dialog result because attribute names alone have an empty string as implicit value.
See https://developer.mozilla.org/en-US/docs/Glossary/Boolean/HTML
Closes #2496undefined when closing dialog via header button (#2629)1 parent 24144de commit d031e79
2 files changed
Lines changed: 23 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
221 | 240 | | |
222 | 241 | | |
223 | 242 | | |
| |||
1600 | 1619 | | |
1601 | 1620 | | |
1602 | 1621 | | |
1603 | | - | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
1604 | 1625 | | |
1605 | 1626 | | |
1606 | 1627 | | |
| |||
0 commit comments