diff --git a/app/views/custom_fields/_form.rhtml b/app/views/custom_fields/_form.rhtml
index 7bbce5d57..cf84810c5 100644
--- a/app/views/custom_fields/_form.rhtml
+++ b/app/views/custom_fields/_form.rhtml
@@ -9,10 +9,10 @@ function toggle_custom_field_format() {
p_values = $("custom_field_possible_values");
p_searchable = $("custom_field_searchable");
p_default = $("custom_field_default_value");
-
+
p_default.setAttribute('type','text');
Element.show(p_default.parentNode);
-
+
switch (format.value) {
case "list":
Element.hide(p_length.parentNode);
@@ -79,7 +79,7 @@ function toggle_custom_field_format() {
<% case @custom_field.class.name
when "IssueCustomField" %>
-
+