An input field that let the user enter both date and time , using a text field and a date picker interface

Provides a wrapper for Phoenix.HTML.Form's datetime_local_input/3 function.

All options passed via opts will be sent to datetime_local_input/3 , value and class can be set directly and will override anything in opts .

<DateTimeLocalInput value="2020-06-04T18:45" />

# Public API

Name Description Type Values Default
opts Options list.

:keyword []
class Class or classes to apply to the input.

value Value to pre-populated the input.

field An identifier for the input.

form An identifier for the form.