Inputs of type datetime-local may specify a step attribute to set the input's granularity. The attribute value defaults to "60" but can be set to "1" to allow entering seconds.
Passing step in the Inputs.datetime() options does not change the input's granularity. Instead, the step attribute has to be applied after the input was created.