From c85b6831466ebff5e6155c18987d2bcf04f81be9 Mon Sep 17 00:00:00 2001 From: robinknaapen Date: Sat, 16 Sep 2017 21:40:32 +0200 Subject: [PATCH] Ignore input type file --- serializer.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/serializer.js b/serializer.js index c3e93d7..dac92b7 100644 --- a/serializer.js +++ b/serializer.js @@ -92,6 +92,11 @@ class Serializer { } else { field = new SerializerField(f); } + + if(field.type == "file"){ + return; + } + field.name = fieldName; field.parent = this;