Enum values validate on Livewire

后端 未结 0 662
误落风尘
误落风尘 2021-02-13 08:28

Could I use below validation way or similar of Laravel in Livewire?

Validator::make($data, [
    \'zones\' => [
        \'required\',
        Rule::in([\'first         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题