SurfaceBootstrap.Form.InputGroup (surface_bootstrap v0.2.5)

Input group

https://getbootstrap.com/docs/5.0/forms/input-group/

Properties

  • spacing :string, default: "3", values: ~w(1 2 3 4 5) - Margin below form group, to create spacing. Defaults to 3.
  • size :string, values: ~w(small large) - Size of the input group, defaults to nil(normal).
  • class :css_class, default: [] - Css classes to propagate down to input group..
  • label :string - Label for input group.

Slots

  • default, args: [:in_group]

Link to this section Summary

Link to this section Functions

Callback implementation for Phoenix.LiveComponent.mount/1.

Link to this function

render(assigns)

Callback implementation for Phoenix.LiveComponent.render/1.

Link to this function

update(assigns, socket)

Callback implementation for Phoenix.LiveComponent.update/2.