I have a page with in-place texbox, so user could easy modify some data, is it possible to add auto-completion functionality? I would like it behaves as #textbox_autocomplete{}.
Asked
Active
Viewed 37 times
1 Answers
0
Looks like:
F = fun(RowId,Value,AutocompleteTag, InPlaceTag) ->
ControlId = wf:temp_id(),
Control = #textbox_autocomplete {
id = ControlId,
tag = AutocompleteTag},
ControlId2 = wf:temp_id(),
#inplace { id=ControlId2, text=Value, tag = {InPlaceTag,RowId}, view = #p{text=Value}, edit=Control }
end.

Anton Prokofiev
- 937
- 10
- 28