webmcp
changeset 44:9b93943e2e6e
Added preliminary notice for "disabled_records" in ui.field.select{...}
author | jbe |
---|---|
date | Sat Oct 16 18:02:27 2010 +0200 (2010-10-16) |
parents | 3198806c7904 |
children | 3c12e7dd93e0 |
files | framework/env/ui/field/select.lua |
line diff
1.1 --- a/framework/env/ui/field/select.lua Sat Oct 16 17:58:23 2010 +0200 1.2 +++ b/framework/env/ui/field/select.lua Sat Oct 16 18:02:27 2010 +0200 1.3 @@ -5,13 +5,15 @@ 1.4 foreign_id = foreign_id, -- name of id field in foreign records 1.5 foreign_name = foreign_name, -- name of field to be used as name in foreign records 1.6 format_options = format_options -- format options for format.string 1.7 - disabled_records = disabled_list -- table of record keys that should be disabled 1.8 + disabled_records = disabled_records -- table of record keys that should be disabled (NOTE: Preliminary. Argument name may change in future releases.) 1.9 } 1.10 1.11 This function inserts a select field in the active slot. For description of the generic field helper arguments, see help for ui.autofield{...}. 1.12 1.13 --]]-- 1.14 1.15 +-- TODO: Find better name for "disabled_records" 1.16 + 1.17 function ui.field.select(args) 1.18 ui.form_element(args, {fetch_value = true}, function(args) 1.19 local foreign_records = args.foreign_records