• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Laravel Nova Dependency Container what are the allowed resource properties other than id in dependsOn

phplaravelpluginslaravel-nova


PHP Snippet 1:

Text::make('Recipient')
    ->hide()
    ->dependsOn(
        ['type'], 
        function (Text $field, NovaRequest $request, FormData $formData) {
            if ($formData->type === 'gift') {
                $field->show()->rules(['required', 'email']);
            }
        }
    ),

Related Snippets

How can i hide dt if dd got empty value

How to write PHP in XSLT

Laravel post contact form giving me error 419

PHP how to detect if running on arm64 cpu?

PHP and WebView - Cookie doesn't are the same

Get lat/lon from google maps url ftid (hex)

Cross-Origin Resource Sharing (CORS) witth Laravel and Vuejs

Querying only one row from a one to many relationship laravel

how to remove white space in select 2

How do I call a php file with axios?

With doctrine ODM, can I embed many subdocuments in a main document?

How to disable widget block editor of WordPress?

Laravel dosen't connect with Oracle

printing all running session variable in laravel 5.1

Manage independently the decimal number of the price of each product [duplicate]

About Contact Privacy policy Terms and conditions