Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

dipherent's avatar

Display text under field when value changes (when creating)

Hi folks,

I have a form on Nova. When I create a new listing, i need to select a company from a drop down field.

The company table have two columns, name and description. I want to show the description below the drop down field as a highlighted text. This text should change when I select a different company...etc

For example, when creating the listing, I choose the company as "Apple", I want its stored description (in db) to show right below the field.

How can I do that?

Thanks a lot,

0 likes
2 replies
filipbaginski's avatar
Text::make('Last Name')->help(
    view('partials.help-text', ['name' => $this->name])->render()
),

->help() should solve your problem.

Please or to participate in this conversation.