default value of path input are 2 empty strings

This commit is contained in:
iLLiCiTiT 2021-02-08 12:04:37 +01:00
parent 2182e9a54c
commit 7c44a9328f

View file

@ -391,7 +391,7 @@ class PathInput(InputEntity):
self.with_arguments = self.schema_data.get("with_arguments", False)
if self.with_arguments:
self.valid_value_types = (list, )
self.value_on_not_set = []
self.value_on_not_set = ["", ""]
else:
self.valid_value_types = (str, )
self.value_on_not_set = ""