Symfony EasyAdmin Dropzone领域
Symfony EasyAdmin有没有办法配置类型的Symfony UX Dropzone?
我使用了此方法,但是当我拖放时,预览图像没有显示任何帮助
yield Field::new('imageFile')
->onlyOnForms()
->setFormType(DropzoneType::class);
is there a way in symfony easyadmin I can configureFields of type symfony ux Dropzone ??
I used this method but when I drag drop, the preview image does not show ,any help
yield Field::new('imageFile')
->onlyOnForms()
->setFormType(DropzoneType::class);
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
只需在dashboardController中添加这些行扩展Appact abractdashboard Controller
您的WebPack条目的名称是“应用程序”
Just add these lines in your DashboardController extends AbstractDashboardController
Where 'app' is your webpack entry's name
我已经找到了一种实现这一目标的方法;
其中“后端”是一个加载刺激js控制器
I've figured out a way to achieve this;
where "backend" is a webpack entry that loads the stimulus js controller