AppliedMathematicsANU / plexus-form

A dynamic form component for react using JSON-Schema.
MIT License
134 stars 31 forks source link

Integrating autocomplete #13

Closed odf closed 9 years ago

odf commented 10 years ago

I've been working on some autocomplete functionality outside of this repo, and wondering how best to integrate this with plexus-form. The extremes, I think, are either to provide just a minimal set of hooks for input fields that a user-defined autocompletion wrapper can work with, or on the other side to integrate a full-fledged autocompleter component that requires nothing more from the user than to provide a function responsible for generating completions.

I will probably develop a better feeling for what might work as I progress with the implementation.

odf commented 9 years ago

Instead of adding specific support for an autocompleter, a simple extension mechanism was introduced in v0.0.16 that allows the caller to supply it's own input components for selected fields.