{"repo":"inspheric/nova-url-field","free":true,"listed":false,"github":"https://github.com/inspheric/nova-url-field","clone":"git clone https://github.com/inspheric/nova-url-field.git","description":"A URL input and link field for Laravel Nova","language":"PHP","stars":102,"topics":["nova","laravel","laravel-nova","laravel-package","laravel-nova-field"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Laravel Nova URL Field A better URL input and link field for Laravel Nova. Version 2.0 now supports Nova 4.0 and Vue 3.0! Installation Install the package into a Laravel app that uses Nova with Composer: Usage Add the field to your resource in the method: The field extends the Laravel\\Nova\\Fields\\Text field, so all the usual methods are available. Supports readonly, placeholder and overriding the default type=\"url\" if you prefer not to have the validation in the browser. This is from the standard Nova Text field so is not documented here. It is recommended that you include the standard url and/or active url validation rules, as they are not automatically added. Options ##### Terminology: label, title, value The terms \"label\", \"title\" and \"value\" are used to describe the following options. They should be understood within the generated HTML as follows: Label Make the field display with a label instead of the URL value itself on the detail or index pages: You can, of course use the Laravel trans() or () functions to translate the label. The label is only displayed if the link is clickable, otherwise the URL value is displayed. Label Using Make the field display with a label using a callback: The arguments $value and $resource are passed in the same way as the callback for resolveUsing() , but are optional. HTML Label If you would like to use custom HTML for the label, remember to also use the asHtml() option. Domain Label A shortcut method to display the domain part only of the","default_branch":null,"files":null,"tree":[],"storefront":"/r/inspheric","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/inspheric/nova-url-field/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}