MishkaChelekom.Components.NumberField (AshFormBuilder v0.4.0)

View Source

Functional fallback for MishkaChelekom NumberField. Generate with mix mishka.ui.gen.component number_field to override.

Summary

Functions

number_field(assigns)

Attributes

  • field (Phoenix.HTML.FormField) (required)
  • label (:string) - Defaults to nil.
  • placeholder (:string) - Defaults to nil.
  • 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. Supports all globals plus: ["min", "max", "step"].