Hello,
I’m working on a form using autoform and I need the autocomplete option in some fields.
I used mpowaga:autoform-autocomplete package but it doesn’t seem to work…
I tried with mizzao:autocomplete it works perfectly but I have to give up on autoform if so
Does anyone have a solution to propose?
PS: the field should be completed from a database.
Check this out:
It has section referring to alternative autocomplete input types.
Thanks for the snippet
In my schema, I’m using properties that aren’t strings.
For instance in the snippet, I would change the type of the matches property of the rounds schema:
matches:{
type: [String],
With this change, autocompletion doesn’t work anymore
How would I go about tweaking this snippet if the type of matches is [String]?
In my use case, I need to allow for the possibility that type: [String] for the matches property.
FWIW I’ve tweaked @zenev’s snippet to allow for this:
- source = http://repo.or.cz/autoform-autocomplete-array.git
- running @ meteor.com = http://autoform-autocomplete-array.meteor.com/
Seems to work for me…
Nothing here works
1 Like