@props({"label": "", "for": "", "description": "", "error": ""}) {# PyBlade UI: Field. A label, the control in the slot, a description and an error. Pass the error of a form field to it, e.g. :error="form.email.errors.0". https://ui.pyblade.com/components/field #}
@if(label)@endif {{ slot }} @if(error)

{{ error }}

@elif(description)

{{ description }}

@endif