MishkaChelekom.Components.DateTimeField (AshFormBuilder v0.4.0)

View Source

Functional fallback for MishkaChelekom DateTimeField.

Summary

Functions

date_time_field(assigns)

Attributes

  • field (Phoenix.HTML.FormField) (required)
  • label (:string) - Defaults to nil.
  • type (:string) - Defaults to "datetime-local".
  • required (:boolean) - Defaults to false.
  • hint (:string) - Defaults to nil.
  • errors (:list) - Defaults to [].
  • class (:string) - Defaults to nil.
  • wrapper_class (:string) - Defaults to nil.
  • color (:string) - Defaults to nil.
  • variant (:string) - Defaults to nil.
  • Global attributes are accepted.