We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ab4631 commit c86fdf8Copy full SHA for c86fdf8
server/src/workflow-management/selector.ts
@@ -182,7 +182,10 @@ export const getElementInformation = async (
182
...info.attributes,
183
selectedValue: selectElement.value,
184
};
185
- } else {
+ } else if (targetElement?.tagName === 'INPUT' && (targetElement as HTMLInputElement).type === 'time' || (targetElement as HTMLInputElement).type === 'date') {
186
+ info.innerText = (targetElement as HTMLInputElement).value;
187
+ }
188
+ else {
189
info.hasOnlyText = targetElement.children.length === 0 &&
190
(targetElement.textContent !== null &&
191
targetElement.textContent.trim().length > 0);
0 commit comments