Skip to content

Commit

Permalink
fix(core): fix the number template to handle drag event (#55)
Browse files Browse the repository at this point in the history
* fix(core): fix the invalid date issue when no time is selected for date/time column

* fix(core): enable input field to remain active on mouse selection of the entered text

* fix(core): fix the number template to handle drag event

GH-44
  • Loading branch information
arpit1503khanna authored Feb 21, 2024
1 parent 121104e commit 166793d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,16 @@
let-nodeWithInput="nodeWithInput"
let-hide="hide"
>
<div (document:click)="hide()">
<div (document:click)="handleDocumentClick($event)">
<input
type="number"
class="text-input"
autofocus
value="{{ input.setValueName(nodeWithInput.node.state) }}"
(focusout)="callback($event.target)"
(mousedown)="handleMouseDown($event)"
(mouseup)="handleMouseUp()"
(mouseleave)="handleMouseLeave($event)"
/>
</div>
</ng-template>
Expand Down
6 changes: 3 additions & 3 deletions projects/workflows-element/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sourceloop/workflows-creator-element",
"version": "1.1.5",
"version": "1.1.6",
"description": "Web Component for providing a smooth user workflow.",
"scripts": {
"prepublishOnly": "cp package.json dist/package.json"
Expand All @@ -17,5 +17,5 @@
"access": "public",
"directory": "dist"
},
"hash": "01d1d33b78cc9d44c2c5427e055968cdcce3fc69e693611974be19246ddb0b37"
}
"hash": "eda00eb65b3f01c290e8577ac9b4d2f18c655283559e3b0f74362492c63483c5"
}

0 comments on commit 166793d

Please sign in to comment.