View Source Backpex.Fields.Textarea (Backpex v0.9.1)

A field for handling long text values.

Field-specific options

See Backpex.Field for general field options.

  • :placeholder - Placeholder value or function that receives the assigns.

  • :debounce - Timeout value (in milliseconds), "blur" or function that receives the assigns.

  • :throttle - Timeout value (in milliseconds) or function that receives the assigns.

  • :rows (non_neg_integer/0) - Number of visible text lines for the control. The default value is 2.

  • :readonly - Sets the field to readonly. Also see the panels guide.

Summary

Functions

validate_config!(field, live_resource)