Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When requiredIfAccepted is triggered, red required star does not appear next to label #13067

Closed
jonathan-bird opened this issue Jun 3, 2024 · 1 comment

Comments

@jonathan-bird
Copy link

Package

filament/filament

Package Version

3.2.85

Laravel Version

v11.0

Livewire Version

v3.0

PHP Version

PHP 8.3

Problem description

When requiredIfAccepted is triggered, red required star does not appear next to label, even when live()

Expected behavior

Red required star should appear next to label when requiredIfAccepted has triggered.

Steps to reproduce

Toggle::make('recurring_order_free_gift_enabled')
      ->label('Enable Free Gift?')
      ->default(true)
      ->live(),

TextInput::make('recurring_order_free_gift_stockcode')
    ->label('Free Gift Stock code')
    ->string()
    ->requiredIfAccepted('recurring_order_free_gift_enabled'),

Reproduction repository

n/a

Relevant log output

No response

Copy link

github-actions bot commented Jun 3, 2024

Hey @jonathan-bird! We're sorry to hear that you've hit this issue. 💛

However, it looks like you forgot to fill in the reproduction repository URL. Can you edit your original post and then we'll look at your issue?

We need a public GitHub repository which contains a Laravel app with the minimal amount of Filament code to reproduce the problem. Please do not link to your actual project, what we need instead is a minimal reproduction in a fresh project without any unnecessary code. This means it doesn't matter if your real project is private / confidential, since we want a link to a separate, isolated reproduction. That would allow us to download it and review your bug much easier, so it can be fixed quicker. Please make sure to include a database seeder with everything we need to set the app up quickly.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 3, 2024
@jonathan-bird jonathan-bird changed the title When requiredIfAccepted is triggered, red required star does not appear next to label, even when live()) When requiredIfAccepted is triggered, red required star does not appear next to label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant