Skip to content

Commit

Permalink
fix(core): allow date to be set on enter
Browse files Browse the repository at this point in the history
  • Loading branch information
arpit1503khanna committed Feb 22, 2024
1 parent 59f7cfb commit caa6670
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,14 @@
type="date"
[(ngModel)]="date"
(click)="$event.stopPropagation()"
(keydown)="
handleEnterEvent(
callback,
nodeWithInput.node,
{target: {value: date}},
inputType.Date
)
"
/>
</div>
<div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,13 @@ export class GroupComponent<E> implements OnInit, AfterViewInit {
this.hidePopper();
}
}

handleEnterEvent(callback:any, node: BpmnNode,
$event: any,
type: string, metaObj: RecordOfAnyType,){
const response =this.getLibraryValue(node,$event,type,metaObj)
callback(response)
}
/**
* It removes all the inputs that come after the current input
* @param element - NodeWithInput<E>
Expand Down
2 changes: 1 addition & 1 deletion projects/workflows-element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
"access": "public",
"directory": "dist"
},
"hash": "90788b80097a03917ae5eb70f77bc7f6b74ac194fe063243573f2f673458f1d8"
"hash": "9042b091fc7823733508224bb23946924159066cdc242dc78df63165730e45b7"
}

0 comments on commit caa6670

Please sign in to comment.