Commit 15ea21f
committed
Modified
Previously, a bug was introduced in which inherited attributes were set to the _current_ topic's attributes—which may be inherited, but may not be. It's not entirely clear _why_ that change was made, but it causes confusion because the inherited value is used as the placeholder on attribute fields. As such, if you remove an existing value from a field, that value appears to reappear as theplaceholder text.
We can fix this by simply going back to using the `DerivedTopic` version, which is how we handled this in the previous version of the editor. We'll need to be on the lookout for off-target impacts in case there was a good reason to introduce this, though. If so, we'll need to find a workaround, and carefully comment it for future versions of me.InheritedAttributes to only display inherited attributes1 parent c56c188 commit 15ea21f
2 files changed
Lines changed: 4 additions & 5 deletions
File tree
- OnTopic.Editor.AspNetCore/Controllers
- OnTopic.Editor.Models
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
180 | 183 | | |
181 | 184 | | |
182 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | 77 | | |
82 | 78 | | |
83 | 79 | | |
| |||
0 commit comments