HTML Date Picker in Custom Input not working

I’m trying to add a custom input to let the robot user decide a date range for the robot to analyze. I made a super simple HTML file that looks like this:

<!-- saved from url=(0014)about:internet -->
<html lang="en">

	<input type="date" id="desde">
	<input type="date" id="hasta">
	<button id="next" onclick="devolver()"> Next </button>
function devolver() {
  window.external.setResult(document.querySelectorAll('input[type="date"]').item(0).value + "#" + document.querySelectorAll('input[type="date"]').item(1).value);
  return true;

This code may not work, since I still haven’t been able to test it. What I do know is that this file works in my browser, and looks like this:

But when I open the file with the Custom Input activity, I get this:

where I can type anything I want, which is not what I need. Am I doing something wrong?
Thanks in advance,

Hello @matias.lynch

Are you trying to open the file? Can you share the screenshot of the flow.


I’m using the Custom Input activity as follows:

with index.html being the file I showed above.

i doubt it accept only plain html.

I’ve used this activity before, with buttons and text input, and it has always worked. I know it accepts plain HTML as it is also documented:
The only thing that is not currently working for me is the <type=“date”> element.

Hey, just bumping this thread since I still can’t find a solution to it.