Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Feb 17, 2023
1 parent 9994d7a commit e14aeae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ as shown in the quickstart.
#### Using a callable

Instead of passing a list of `DropdownItems`, you can supply a callback function
which will be called with the current value and cursor position in the input.
which will be called with the current input state. From this function, you should
return the list of `DropdownItems` you wish to be displayed.

See [here](./examples/custom_meta.py) for a usage example.

Expand Down

0 comments on commit e14aeae

Please sign in to comment.