EasyAdmin! For an Awesomely Powerful Admin Area
Controlling the "Formatted Value"
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 1

Suppose we format the value of a field like this:

yield TextField::new('lastName')
    ->formatValue(static function($value, User $user) {
        return strtoupper($value);
    });

What effect will this have?

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.