add default to value

This commit is contained in:
Emmanuel Garette 2019-03-11 15:57:32 +01:00
parent 16f848886b
commit 77d720cab4
1 changed files with 3 additions and 0 deletions

View File

@ -284,6 +284,9 @@ class TiramisuOptionValue(_Value):
self.index,
remote)
def default(self):
return self.schema.get('value')
class _Option:
def list(self,