Skip to content

Commit

Permalink
Fix TextField Editors options
Browse files Browse the repository at this point in the history
Related to #2946
  • Loading branch information
agriffard committed Jan 9, 2019
1 parent 842324f commit d2ba622
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@{
string currentEditor = Model.Editor;
}
<option value="Color" selected="@String.IsNullOrEmpty(currentEditor)">@T["Color"]</option>
<option value="Color" selected="@(currentEditor == "Color")">@T["Color"]</option>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@{
string currentEditor = Model.Editor;
}
<option value="Tel" selected="@String.IsNullOrEmpty(currentEditor)">@T["Phone"]</option>
<option value="Tel" selected="@(currentEditor == "Tel")">@T["Phone"]</option>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@{
string currentEditor = Model.Editor;
}
<option value="Url" selected="@String.IsNullOrEmpty(currentEditor)">@T["Url"]</option>
<option value="Url" selected="@(currentEditor == "Url")">@T["Url"]</option>

0 comments on commit d2ba622

Please sign in to comment.