Skip to content

getPlaceholder和laravel-admin 1.7.8 不兼容 #17

@liues1992

Description

@liues1992

Encore\Admin\Form\Field:中的getPlaceHolder定义

    public function getPlaceholder(): string
    {
        return $this->placeholder ?: trans('admin.input').' '.$this->label;
    }

要求返回值是string
Encore\ChinaDistpicker\Distpicker 中定义的
protected $placeholder= []; 为数组,使用时报错。

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