Talent Su

Results 2 comments of Talent Su

使用数据做条件判断,可以避免这个问题: ```php $form->radio('radio') ->when([1,2], function (Form $form) { $form->text('text1'); }) ->when(3, function (Form $form) { $form->text('text2'); }) ->options([ 1 => 'A', 2 => 'B', 3 =>'C', ]) ->default(1); ```

期望支持php , 注解格式如果能自定义的话,最好不过了!目前使用的是apidoc 的格式做的接口文档