Skip to content

Can not use Enums or String on dependsOn. #214

@sezohessen

Description

@sezohessen

My field :

NovaDependencyContainer::make([
                BelongsTo::make(__('Inventory'),'inventory_out_product',InventoryOutProduct::class)->display(function($inventory){
                    return $this->inventory_text_format($inventory);

                })->rules('required')->onlyOnForms()->hideWhenUpdating(),
            ])->dependsOn('order.delivered_type', OrderDeliveredType::Direct()),

I can not use enum on dependsOn or ANY string in the second parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions