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

Input styled to use inside the tables


  • 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
  • opts :any, default: %{} - Keyword | Map of additional attributes for the input


  • 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



Callback implementation for Surface.Component.render/1.