angular-dynamic-forms icon indicating copy to clipboard operation
angular-dynamic-forms copied to clipboard

Auto complete

Open abku opened this issue 9 years ago • 3 comments

Hi,

Has anyone attempted to add Auto complete to this mix. Basically, when a user types any data into a text box I want to do a call to the server to get a list of matching records to get the user to pick one from.

Is this possible?

abku avatar Mar 04 '16 15:03 abku

Absolutely. Just drop in whichever Angular autocomplete module you want to use, add the relevant attributes to the object in the attributes key of the field, and you should be set!

danhunsaker avatar Mar 04 '16 23:03 danhunsaker

@danhunsaker Is there a recommended one? I have a few fields (not all input fields) and each have to query a different table in the database. Eg: Order Number field queries Order Table Item number queries Item table....

I like the simplest implementation as I am not that great yet with Angularjs...

abku avatar Mar 07 '16 19:03 abku

I tend to use Angular Bootstrap, myself.

danhunsaker avatar Mar 07 '16 21:03 danhunsaker