diff options
Diffstat (limited to 'management/editor/elements.go')
-rw-r--r-- | management/editor/elements.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/management/editor/elements.go b/management/editor/elements.go index 4a8ae55..bb2cb3f 100644 --- a/management/editor/elements.go +++ b/management/editor/elements.go @@ -242,8 +242,6 @@ func Select(fieldName string, p interface{}, attrs, options map[string]string) [ // find the field value in p to determine if an option is pre-selected fieldVal := valueFromStructField(fieldName, p) - // may need to alloc a buffer, as we will probably loop through options - // and append the []byte from domElement() called for each option attrs["class"] = "browser-default" sel := newElement("select", attrs["label"], fieldName, p, attrs) var opts []*element |