Commit 1e331faa authored by Andrei Sobolev's avatar Andrei Sobolev
Browse files

Default value bug fixed (still don't know what should be in the callback context)

parent 74be697b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -217,7 +217,7 @@ export default class ControlGeneratorMod extends UIComponent{
          this.sanityChecks.push({field: field, check: (field) => f(field, structure)})
          break;
        case 'defaultValue':
          const value = f(context)
          const value = f(structure, this.workflow)
          if (value !== undefined) field.setValue(value)
          break;
        case 'defaultChecked':