Skip to content

Fix disabled state not updating when using partial render in table repeater#19213

Merged
danharrin merged 2 commits intofilamentphp:4.xfrom
CharlieEtienne:fix/partiallyRenderAfterStateUpdated-inside-repeaters
Feb 8, 2026
Merged

Fix disabled state not updating when using partial render in table repeater#19213
danharrin merged 2 commits intofilamentphp:4.xfrom
CharlieEtienne:fix/partiallyRenderAfterStateUpdated-inside-repeaters

Conversation

@CharlieEtienne
Copy link
Contributor

Description

Fixes #19211

When using partiallyRenderComponentsAfterStateUpdated() in a table repeater, the target component's value updated but reactive attributes like disabled did not.

The table repeater was rendering components with {{ $schemaComponent }} (calls toHtml()), which doesn't include the wire:partial attribute. Livewire couldn't find the element to update.

The fix is to use {!! $schemaComponent->toSchemaHtml() !!} which includes the proper wire:partial wrapper, matching how Schema.php renders components.

Visual changes

None

Functional changes

  • Code style has been fixed by running the composer cs command.
  • Changes have been tested to not break existing functionality.
  • Documentation is up-to-date.

@danharrin danharrin added bug Something isn't working labels Feb 5, 2026
@danharrin danharrin modified the milestone: v4 Feb 5, 2026
@github-project-automation github-project-automation bot moved this from Todo to In Progress in Roadmap Feb 8, 2026
@danharrin danharrin merged commit 9b53d6b into filamentphp:4.x Feb 8, 2026
23 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Roadmap Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

disabled state doesn't update when using partial render in table repeater

2 participants