question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not able to access controller

See original GitHub issue
  • OS: [iOS]
  • Package version [3.5.1]
 constructor(props) {
    super(props);
    this.categoryController;
    this.state = {
    category: null
                  }
}

 <DropDownPicker
                  items={this.state.categoryList}
                  placeholder={"Select category"}
                  defaultValue={this.state.category}
                  controller={(instance) =>
                    (this.categoryController = instance)
                  }
                 .....
                ...../>

When I try to access the controller this.categoryController.reset();

Crash: Error: Screenshot 2020-08-28 at 19 58 32

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
hassan-akhtarcommented, Aug 28, 2020

I cleared the cache using

npm start -- --reset-cache

and ran the project again, now i’m not getting the exception anymore

1reaction
hossein-zarecommented, Aug 28, 2020

https://snack.expo.io/o5jDyOdTo (Updated)

Please add your component code fully (not just the picker).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can't Access the Control Panel on Windows 10? Try These ...
Open the Run command by pressing Win + R. · Click OK after typing "msconfig." · Go to the Services tab in the...
Read more >
Can't access controller - Ubiquiti Community
Hi,. I just installed mfi Controller 2.1.4 on a Windows Server 2008RC2 where is also running Unifi controller as a service. After changing...
Read more >
Can't access controller method in ASP.NET Core MVC
Here is my setupProxy.js file, as I was following this solution I can't access methods in net core MVC controllers but it still...
Read more >
Unable to access the controller from the browser | Wireless ...
I am unable to access the controller (651 controller) from the browser. I was upgrading partition 0 and when the controller rebooted i...
Read more >
Configuring user access control and permissions
Gateway users can connect to the Windows Admin Center gateway service to manage servers through that gateway, but they can't change access ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found