jqhph / dcat-admin

🔥 基于 Laravel 的后台系统构建工具 (Laravel Admin),使用很少的代码快速构建一个功能完善的高颜值后台系统,内置丰富的后台常用组件,开箱即用,让开发者告别冗杂的HTML代码
http://www.dcatadmin.com
MIT License
3.87k stars 704 forks source link

step by step form array field can't re-validating input after failure for the first time submit #2094

Closed sadghhr closed 3 months ago

sadghhr commented 10 months ago

Description:

Steps To Reproduce:

same issue as below one, but my field type is Array, and has no error message show but just with input box highlight outline https://github.com/jqhph/dcat-admin/issues/1206#issue-867222531

my code: $form->add('Account Settings', function(StepForm $step){ $step->array('accounts', function ($step) { $step->text('username')->rules('required', ['required' => 'Username is Empty']); $step->text('password')->rules('required', ['required' => 'Password is Empty']); })->saveAsString(); });

pls help thanks in advance

stale[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.