View Source Moon.Design.Table.Input (Moon v2.89.1)

Input styled to use inside the tables

Properties

  • testid :string - Data-testid attribute for html tag
  • id :string - Id attribute for html tag
  • class :css_class - Additional CSS classes for the html tag
  • placeholder :string - Text to be shown when no value given
  • value :string - Value to be shown
  • disabled :boolean - If the item should be marked as disabled
  • side_values :any, default: %{} - Additional values to be passed
  • opts :any, default: %{} - Keyword | Map of additional attributes for the input

Events

  • on_change - On change event for the input
  • on_keyup - On keyup event for the input
  • on_focus - On focus event for the input
  • on_blur - On blur event for the input

Summary

Functions

Callback implementation for Surface.Component.render/1.