Autocomplete ajax validate on load

Tags: #<Tag:0x00007efc60600118> #<Tag:0x00007efc60601db0>

Hi Handsontable support,

Is there a way to validate the Autocomplete strict mode (Ajax) on load? I was wondering since the options is not loaded in memory.

Thank you

Hi @r.evangelio

If the data isn’t validated on initialization, you can try to call validateColumns method to force the validation. Here’s a simple example:

https://jsfiddle.net/handsoncode/jf8m0dc5/

Even if for autocomplete that uses url for source?

Like this
https://jsfiddle.net/9f7ucska/

@r.evangelio

It should also work for data fetched from JSON file. You can run validation after the data is loaded in afterLoadData hook.