laravel-admin-extensions / laravel-admin-extensions/cropper

字段名不能使用数组

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
71
Forks
34
PR merge metrics
No merged PRs in 30d

Description

```
$form->cropper('images[1]','广告图一')->cRatio(200,200);
```

如上,如果使用了数组作为字段名称,则点击浏览按钮没有反应。

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with the provided `$form->cropper('images[1]', '广告图一')->cRatio(200,200)` example and trace the browse-button handling for field names containing array brackets. Done means the browse button responds and the cropper works for an array-style field name without breaking ordinary field names.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.