All Projects → dillingham → nova-grouped-field

dillingham / nova-grouped-field

Licence: MIT License
Combine multiple Nova fields as one field output

Programming Languages

Vue
7211 projects
PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to nova-grouped-field

nova-url-field
A URL input and link field for Laravel Nova
Stars: ✭ 96 (+123.26%)
Mutual labels:  laravel-nova, laravel-nova-field
nova-table-field
Table field for Laravel Nova
Stars: ✭ 29 (-32.56%)
Mutual labels:  laravel-nova, laravel-nova-field
nova-hidden-field
A Laravel Nova Hidden field.
Stars: ✭ 32 (-25.58%)
Mutual labels:  laravel-nova, laravel-nova-field
nova-conditional-fields
WIP: Conditionally display fields based on another field's value
Stars: ✭ 38 (-11.63%)
Mutual labels:  laravel-nova
nova-filepond
A Nova field for uploading File, Image and Video using Filepond.
Stars: ✭ 36 (-16.28%)
Mutual labels:  laravel-nova-field
nova-blogify-tool
Create a simple blog in a few seconds. Powered by Laravel Nova.
Stars: ✭ 20 (-53.49%)
Mutual labels:  laravel-nova
nova-gridder
Customize Nova Resource Details using Tailwind Grid System and more
Stars: ✭ 18 (-58.14%)
Mutual labels:  laravel-nova
nova-html
This field allows you display custom HTML in Laravel Nova, be it a link, an image or any other piece of proper html.
Stars: ✭ 13 (-69.77%)
Mutual labels:  laravel-nova
nova-unlayer-field
🦜 Drag’n’drop email builder for Laravel Nova that uses Adds a Laravel Nova field for Unlayer service under the hood.
Stars: ✭ 27 (-37.21%)
Mutual labels:  laravel-nova-field
nova-inline-morph-to
A Laravel Nova field for displaying morphTo relationship inline.
Stars: ✭ 32 (-25.58%)
Mutual labels:  laravel-nova-field
laravel-nova-order-nestedset-field
Laravel Nova field that make your resources orderable
Stars: ✭ 21 (-51.16%)
Mutual labels:  laravel-nova
nova-json-wrapper
Allows you to group Nova fields and merge their output into a single JSON column
Stars: ✭ 14 (-67.44%)
Mutual labels:  laravel-nova-field
nova-opcache
OPcache Tool for Laravel Nova
Stars: ✭ 21 (-51.16%)
Mutual labels:  laravel-nova
nova-system-resources
Display the system usage in Laravel-Nova
Stars: ✭ 30 (-30.23%)
Mutual labels:  laravel-nova
nova-assertions
Laravel Nova assertions for your tests
Stars: ✭ 76 (+76.74%)
Mutual labels:  laravel-nova
nova-horizon-stats
Nova cards for Laravel applications that use Laravel Horizon
Stars: ✭ 31 (-27.91%)
Mutual labels:  laravel-nova
nova-list-card
Add a variety of resource lists to Nova dashboards
Stars: ✭ 39 (-9.3%)
Mutual labels:  laravel-nova
nova-qrcode-field
A Laravel Nova field to generate QR Code
Stars: ✭ 28 (-34.88%)
Mutual labels:  laravel-nova
nova-inspire
The best way to connect with your customers is by reaching out and inspiring them. ~ Me
Stars: ✭ 14 (-67.44%)
Mutual labels:  laravel-nova
select-auto-complete
An auto-completing Laravel Nova search field
Stars: ✭ 34 (-20.93%)
Mutual labels:  laravel-nova

Nova Grouped Field

Latest Version on Github Total Downloads Twitter Follow

This Nova field provides a clean way to combine multiple fields into one output.

nova-grouped-field-1

Installation

Installing with composer:

composer require dillingham/nova-grouped-field

Usage

use Dillingham\NovaGroupedField\Grouped;
public function fields(Request $request)
{
    return [
        Grouped::make('User')->fields([
            BelongsTo::make('Account'),
            BelongsTo::make('User'),
        ])
    ]
}

Options

There are a few chainable options available

separator($value)

If you would like to override the default slash separator

Grouped::make('User')->fields([
    BelongsTo::make('Account'),
    BelongsTo::make('User'),
])->separator('-')

showLabels()

If you want to output the original labels inline with the values

Grouped::make('User')->fields([
    BelongsTo::make('Account'),
    BelongsTo::make('User'),
])->showLabels()

removeLinks()

If you just want plain text output for relationships

Grouped::make('User')->fields([
    BelongsTo::make('Account'),
    BelongsTo::make('User'),
])->removeLinks()

Screenshots

separator('-') showLabels() removeLinks()
nova-grouped-field-separator nova-grouped-field-labels nova-grouped-field-no-links

Native options

Grouped is a nova field like any other.

You can use authorization like ->canSee()

You can decide when to show like ->hideFromIndex()


Author

Hi 👋, Im Brian Dillingham, creator of this Nova package and others

Hope you find it useful. Feel free to reach out with feedback.

Follow me on twitter: @im_brian_d

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].