feat: handle input type time
This commit is contained in:
@@ -61,6 +61,8 @@ export const getElementInformation = async (
|
|||||||
...info.attributes,
|
...info.attributes,
|
||||||
selectedValue: selectElement.value,
|
selectedValue: selectElement.value,
|
||||||
};
|
};
|
||||||
|
} else if (element?.tagName === 'INPUT' && element?.type === 'time') {
|
||||||
|
info.innerText = element.value;
|
||||||
} else {
|
} else {
|
||||||
info.hasOnlyText = element?.children?.length === 0 &&
|
info.hasOnlyText = element?.children?.length === 0 &&
|
||||||
element?.innerText?.length > 0;
|
element?.innerText?.length > 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user