We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encore\Admin\Form\Field:中的getPlaceHolder定义
Encore\Admin\Form\Field:中的getPlaceHolder
public function getPlaceholder(): string { return $this->placeholder ?: trans('admin.input').' '.$this->label; }
要求返回值是string Encore\ChinaDistpicker\Distpicker 中定义的 protected $placeholder= []; 为数组,使用时报错。
Encore\ChinaDistpicker\Distpicker
protected $placeholder= [];
The text was updated successfully, but these errors were encountered:
public function getPlaceholder(): string 把string去掉即可
public function getPlaceholder(): string
Sorry, something went wrong.
我修改了Distpicker.php文件,将 $placeholder = '', __construct 中将其 json_encode, 在render() 中 再次 json_decode 即可。
No branches or pull requests
Encore\Admin\Form\Field:中的getPlaceHolder
定义要求返回值是string
Encore\ChinaDistpicker\Distpicker
中定义的protected $placeholder= [];
为数组,使用时报错。The text was updated successfully, but these errors were encountered: