The Frayed Ends of Sanity

LoginRegister customisation

Recommended Posts

Thank you @flydev

do you know why at me show up this error?

1304285856_Schermata2018-05-15alle11_35_10.thumb.png.9780d80d6c0838acb7fac778e26bfb63.png

I see the documentation and I try to rewrite but don't have find a solution. I can not understand if the problem is in the loop like the alert or is in the line 47.

The loop like write well, in the option you take the field options and get all the shipping_countrycode value, I think this is correct, I try to use different format like in the documentation but didn't work. like this:

$field = $fields->get('shipping_countrycode');
$options = $this->type->getOptions($field);

This not give me this error but all the process not work... 😞

Share this post


Link to post
Share on other sites
8 minutes ago, MarcoPLY said:

do you know why at me show up this error?

yes sorry, I edited my previous post, please re-copy the code. The error is because I use the keyword $this (as I am writing a module) instead of using wire() in the hook if he is called from the ready.php 😉

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.