ashtrath
Issue with Fieldset Visibility on Form Edit first render
Context: I'm working with Filament forms and have a fieldset (
Student Information
) that should only be visible when the role field is set to 4
. The role is set via a Select field where I assign a role ID.
The Problem:
- When editing a user with an existing role ID (e.g., 4), the Student Information
fieldset doesn't appear on first render until I change the role and then set it back to 4
.
- I expect the fieldset to be visible as soon as the form is rendered if the user’s role id is already 4
, but it remains hidden until the role is selected again.
Code Example:
The Issue Details:
- Expected Behavior: The Student Information
fieldset should be visible as soon as the form loads if the role field is set to 4.
- Actual Behavior: The fieldset is hidden on first render, and only becomes visible after I change the role and select 4 again.6 replies