PhxComponentHelpers.validate_required_attributes
You're seeing just the function
validate_required_attributes
, go back to PhxComponentHelpers module for more information.
Validates that attributes are present in assigns.
Raises an ArgumentError
if any attribute is missing.
Example
assigns
|> validate_required_attributes([:id, :label])