Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Entity-Select Views
- Purpose of these views are to have a simple way to include a select field into various forms & flows allowing the user to select an entry from a list of entities (whether it be Patients, Cases, Operating Rooms, etc).
- ### Features
- - Should cache data so every subsequent instance of view class will not need to re-fetch data
- - If the view is instantiated and data has not previously been fetched, will need to fetch and prevent rendering until data is returned
- - Should accept an option to force a re-fresh of the cached data?
- - Should facilitate passing options to bootstrap-select plugin
- - Should allow pre-selection of value(s)
- - Should be able to return currently selected value(s)
- - Should be able to clear selected value(s)
- ### Abstract Configuration
- - Provide a collection class to utilize
- - Provide properties/methods for generating option labels & values
- - Filtering?
- - Sorting?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement