User roles would only be actioned if they existed in the form request, hence removal of all roles would have no data to action upon. This adds a placeholder 0-id role to ensure there is always role data to send, even when no roles are selected. This field value is latter filtered out. Added test to cover. Likely related to #3922. |
||
|---|---|---|
| .. | ||
| checkbox.blade.php | ||
| custom-checkbox.blade.php | ||
| date.blade.php | ||
| dropzone.blade.php | ||
| entity-permissions-row.blade.php | ||
| entity-permissions.blade.php | ||
| errors.blade.php | ||
| image-picker.blade.php | ||
| number.blade.php | ||
| password.blade.php | ||
| request-query-inputs.blade.php | ||
| role-checkboxes.blade.php | ||
| role-select.blade.php | ||
| text.blade.php | ||
| textarea.blade.php | ||
| toggle-switch.blade.php | ||
| user-select-list.blade.php | ||
| user-select.blade.php | ||