Update rules for field validation in StackForm.php
This commit is contained in:
parent
58111f53b9
commit
ec21155c9e
@ -23,7 +23,7 @@ public function mount()
|
||||
foreach ($fields as $fieldKey => $field) {
|
||||
$key = data_get($field, 'key');
|
||||
$value = data_get($field, 'value');
|
||||
$rules = data_get($field, 'rules');
|
||||
$rules = data_get($field, 'rules', 'nullable');
|
||||
$isPassword = data_get($field, 'isPassword');
|
||||
$this->fields[$key] = [
|
||||
"serviceName" => $serviceName,
|
||||
|
Loading…
Reference in New Issue
Block a user