0

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{}.

Anton Prokofiev
  • 937
  • 10
  • 28

1 Answers1

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