Bugfixes and freedback addressing
This commit is contained in:
@@ -3,7 +3,6 @@ package formparser
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"log"
|
||||
"time"
|
||||
)
|
||||
|
||||
@@ -31,8 +30,6 @@ func Select(value string, target *string, allowedValues []string, optional bool)
|
||||
return nil
|
||||
}
|
||||
|
||||
log.Println(value, allowedValues)
|
||||
|
||||
for _, allowedValue := range allowedValues {
|
||||
if value == allowedValue {
|
||||
*target = value
|
||||
|
||||
Reference in New Issue
Block a user