Skip to content

Commit

Permalink
Displays the full url within the display view.
Browse files Browse the repository at this point in the history
  • Loading branch information
dniccum committed Oct 18, 2022
1 parent 67c887f commit de0d796
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Nova/Webhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function fields(NovaRequest $request)
URL::make(__('nova-webhooks::nova.url'), 'url')
->help(__('nova-webhooks::nova.url_help'))
->placeholder('https://hooks.zapier.com/hooks/catch/abcd1234')
->displayUsing(fn () => $this->url)
->sortable()
->rules('required', 'url'),

Expand Down

0 comments on commit de0d796

Please sign in to comment.