Y
Y
YakovSpb2021-02-05 21:26:19
API
YakovSpb, 2021-02-05 21:26:19

Why doesn't autocomplete form fields from Yandex work?

https://ipovipclub.ru/lp/club4/
Type autocompletion of forms should work in the Yandex browser, but the promise objects with an error
{status: "error", code: "not_available"}

https://yandex.ru/dev/turboapps/ doc/api/1.x/autofi...

<script>
    window.yandex.autofill.getProfileData(['name', 'email', 'phone'])
    .then((result) => {
      console.log(result);
    },(error) => {
      console.log(error);
});
  </script>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
threeheader, 2021-12-07
@threeheader

Works only in a mobile browser and application, on the desktop it gives such an error.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question