Skip to content

Commit

Permalink
Fix TextField Editors options (#2994)
Browse files Browse the repository at this point in the history
Related to #2946
  • Loading branch information
agriffard authored and sebastienros committed Jan 9, 2019
1 parent 3c400ae commit 836ccf5
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 836ccf5

Please sign in to comment.