To be updated - R7.10 - F8674 - School Years Section for Responsible School Records
PASIprep Combobox / Dropdown
This is a Widget for the PASIprep UI Guidelines.
For input values where user have a list of possible options to select from (e.g. selecting an Authority, or selecting from a list of code values), there are three possible input controls available.
Select Control
-
-
User have limited typing capability in this control to filter out the options - generally they must scroll through the list to select the appropriate options.
This is the preferred control for fields where user are presented with a list of options and must select one of the options, or when user can select multiple options
If the Select dropdown is used for an optional field, an empty option should always be included in the control to allow user to clear a field. This empty option should always be displayed as the first option in the control.
Multi-Select Control
Select Control with Autocomplete
-
By default the control should be blank - this allows the dropdown list to be shown as soon as user puts focus on the control
Used for Organization (Authority/School selection)
In a search form/criteria scenario, “All”/“Any” option should be represented as “–All {object name}–” or “–Any {object name}–” (e.g. “–All Schools–”). It should be the first option on the list.
Autocomplete
-
Similar to the Select Control with Autocomplete; however, user are free to enter a value that doesn't match any of the autocomplete suggested options.
This is used mainly for text fields where user can enter any text, but the system has a list of 'recommended' texts that user can use as well.
Clearing Selection that is no longer valid
Displaying Code Values
When the list of options are from code values, the short description of Code Value must be visible, either just as “{Short Description}” or {Code} - {Short Description}“
When the record the user is editing is associated to a School Year, the dropdown of Code Values should filter based on which code values are active on the School Year selected.
If the user has not selected the School Year yet, then all code values (regardless of its effective School Year range) will be displayed; this means if user selected a value then selected a School Year where that value is inactive, the selection will be clear as that value will be filtered out of the dropdown list.
Displaying School Years
Filtering Options based on Permission
If user does not have sufficient permission to select an option in the dropdown, the option should be hidden.
Note: this visibility rule should be kept simple (based strictly on user's PASIprep permission). If it's conditional based on other data values on the record (e.g. “if user select the record's Status to ABC, they must have Level_XX permission to select option XYZ) then that should be enforced with a validation rule and not by filtering the option off the list.