Skip to content

Input label and badge spacing missing after upgrade #1118

@jlarm

Description

@jlarm

Flux version

v2.0

Livewire version

v3.4

Tailwind version

v4.0.7

What is the problem?

When displaying a "Required" badge in the label for a field there is no spacing between the label and input field after the upgrade to v2.

Image

Code snippets

<flux:field>
    <flux:label badge="Required">Email</flux:label>

    <flux:input type="email" required />

    <flux:error name="email" />
</flux:field>
<flux:input wire:model="form.name" label="Name" badge="required" />

How do you expect it to work?

There should be a gap between the label and the input field.

Please confirm (incomplete submissions will not be addressed)

  • I have provided easy and step-by-step instructions to reproduce the bug.
  • I have provided code samples as text and NOT images.
  • I understand my bug report will be closed if I haven't met the criteria above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions