Skip to content
Permalink
Browse files

bug: Formatter was not propperly set in DefaultSimpleDataStore

  • Loading branch information...
MikeMitterer committed Nov 15, 2018
1 parent a6779d9 commit f0d20a5c4726c8a53ba6c502f2b251f632c9cd7e
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/m4d_directive.dart
@@ -93,6 +93,11 @@ class DefaultSimpleDataStore extends Emitter implements SimpleValueStore {
//print("$varname changed...");
bindings[varname].onChange.listen((_) => emitChange());
}

if(formatter != null) {
bindings[varname].onFormat(formatter);
}

return bindings[varname];
}
}

0 comments on commit f0d20a5

Please sign in to comment.
You can’t perform that action at this time.