Skip to content

Commit

Permalink
fix: characters sending in custom fields
Browse files Browse the repository at this point in the history
  • Loading branch information
dlenroc authored Jan 12, 2024
1 parent 1b29548 commit 96fbe5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dom/src/Element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ async function appendOrSetText(element: Element, text: string, clear: boolean) {

if (text) {
for (const char of text) {
await keypress(element.sdk.ecp, { key: char as any });
await keypress(element.sdk.ecp, { key: `LIT_${encodeURIComponent(char)}` });
}
}

Expand Down

0 comments on commit 96fbe5e

Please sign in to comment.