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

A field for handling a number value.

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.

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

Summary

Functions

validate_config!(field, live_resource)