Default option is valid
Bevan - January 7, 2009 - 21:25
| Project: | Admin Role |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Description
Submitting the default option of -- Please Select One -- on user/admin/adminrole is not an error (See attached screenshot). Make $form['adminrole_adminrole'] required and check adminrole_adminrole > 0 in a validation callback.
| Attachment | Size |
|---|---|
| Admin Role | csf.lcl_.png | 20.67 KB |

#1
Should be using 'Disabled' as the 0-valued option to sync with the D7 functionality. Will be fixed with #615336: Admin Role - Permissions and Sync module with D7-implementation for upgrading ease..