Commit 9744c8f3 authored by liujiaxin's avatar liujiaxin

feat: custom formula input

parent 658619af
......@@ -58,7 +58,7 @@ export class FormulaInputComponent implements OnInit, OnChanges, OnDestroy, Afte
}
valueChanged(evt) {
console.log('valueChanged', evt);
console.log('valueChanged', this.ngfModel, evt);
this.ngfModelChange.emit(evt);
}
showFormulaPad(e) {
......@@ -74,6 +74,7 @@ export class FormulaInputComponent implements OnInit, OnChanges, OnDestroy, Afte
}
updateValue(val) {
this.ngfModel = val;
this.ngfModelChange.emit(val);
}
ngAfterViewInit() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment