OctantisWeb.Components.Polaris.InlineError (octantis v0.1.11)

View Source

Inline errors are brief, in-context messages that tell merchants something went wrong with a single or group of inputs in a form. Use inline errors to help merchants understand why a form input may not be valid and how to fix it.

Examples

  </.inline_error message="Store name is required" field_id="myFieldID" >

See

Summary

Functions

Inline errors are brief, in-context messages that tell merchants something went wrong with a single or group of inputs in a form. Use inline errors to help merchants understand why a form input may not be valid and how to fix it.

Functions

inline_error(assigns)

Inline errors are brief, in-context messages that tell merchants something went wrong with a single or group of inputs in a form. Use inline errors to help merchants understand why a form input may not be valid and how to fix it.

Examples

  </.inline_error message="Store name is required" field_id="myFieldID" >

See

Attributes

  • message (:string) (required) - Content briefly explaining how to resolve the invalid form field input.
  • field_id (:string) - Unique identifier of the invalid form field that the message describes.