parent
a7348e5266
commit
930d728a97
|
@ -16,12 +16,14 @@
|
||||||
[
|
[
|
||||||
'field' => 'password',
|
'field' => 'password',
|
||||||
'label' => __('Password'),
|
'label' => __('Password'),
|
||||||
'type' => 'password'
|
'type' => 'password',
|
||||||
|
'required' => $this->request->getParam('action') === 'add' ? 'required' : false
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'field' => 'confirm_password',
|
'field' => 'confirm_password',
|
||||||
'label' => __('Confirm Password'),
|
'label' => __('Confirm Password'),
|
||||||
'type' => 'password'
|
'type' => 'password',
|
||||||
|
'required' => $this->request->getParam('action') === 'add' ? 'required' : false
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'field' => 'role_id',
|
'field' => 'role_id',
|
||||||
|
|
Loading…
Reference in New Issue