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

itango's avatar

Show modal popup before saving a resource in Nova

Hello,

Before saving a resource in Nova, I need to call an external API to get some value.

At the moment I am doing it from the resource Observer. It works OK when the API returns one record.

However, sometimes it might return more than one record. In those cases, I need to show the user the list of options to select one of them.

To do that I would like to show them a modal popup with the list to records and allow them to select one.

I wonder if someone could point me to a tutorial or resource on how to do it.

Thank you

0 likes
1 reply
anditsung's avatar

you could create a custom field to get the value before saving

Please or to participate in this conversation.