© 2026 Hedgehog Software, LLC
$this->state($updtedState);
$component
protected function setUp(): void { parent::setUp(); $this->live(onBlur: true) ->afterStateUpdated(function (Component $component, ?string $state, ?string $old) { if ($state !== null) { $updatedState = $this->performMathOperation($state); Log::debug($updatedState); //this is the correct value, want to reflect in text input field. $component->state($updatedState); //input not getting updated. } }); }