Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. # Entity-Select Views
  2.  
  3. 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).
  4.  
  5. ### Features
  6.  
  7. - Should cache data so every subsequent instance of view class will not need to re-fetch data
  8. - If the view is instantiated and data has not previously been fetched, will need to fetch and prevent rendering until data is returned
  9. - Should accept an option to force a re-fresh of the cached data?
  10. - Should facilitate passing options to bootstrap-select plugin
  11. - Should allow pre-selection of value(s)
  12. - Should be able to return currently selected value(s)
  13. - Should be able to clear selected value(s)
  14.  
  15. ### Abstract Configuration
  16.  
  17. - Provide a collection class to utilize
  18. - Provide properties/methods for generating option labels & values
  19. - Filtering?
  20. - Sorting?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement