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.

Input & SearchBar broken beta7

See original GitHub issue

Hello, after the upgrade to beta7, Input and SearchBar seems to not work. Did I use it well ?

import Toto from "./lib/Toto"
AppRegistry.registerComponent("toto", () => Toto);
import * as React from "react";
import { View } from "react-native";
import { Input } from "react-native-elements";

export default class Toto extends React.Component<any, any> {
  constructor(props: any) {
    super(props);
  }

  public render() {
    return <View><Input
      onChangeText={() => { }}
      placeholder="Type Here..." /></View >;
  }

}
12-30 14:15:30.092  8571 15288 E ReactNativeJS: 
12-30 14:15:30.092  8571 15288 E ReactNativeJS: Check the render method of `Toto`.
12-30 14:15:30.092  8571 15288 E ReactNativeJS: 
12-30 14:15:30.092  8571 15288 E ReactNativeJS: This error is located at:
12-30 14:15:30.092  8571 15288 E ReactNativeJS:     in RCTView (at View.js:60)
12-30 14:15:30.092  8571 15288 E ReactNativeJS:     in View (at TestPerf.js:67)
12-30 14:15:30.092  8571 15288 E ReactNativeJS:     in Toto (at renderApplication.js:33)
12-30 14:15:30.092  8571 15288 E ReactNativeJS:     in RCTView (at View.js:60)
12-30 14:15:30.092  8571 15288 E ReactNativeJS:     in View (at AppContainer.js:102)
12-30 14:15:30.092  8571 15288 E ReactNativeJS:     in RCTView (at View.js:60)
12-30 14:15:30.092  8571 15288 E ReactNativeJS:     in View (at AppContainer.js:122)
12-30 14:15:30.092  8571 15288 E ReactNativeJS:     in AppContainer (at renderApplication.js:32)
12-30 14:15:30.113  8571 15288 E ReactNativeJS: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object.
12-30 14:15:30.113  8571 15288 E ReactNativeJS: 
12-30 14:15:30.113  8571 15288 E ReactNativeJS: Check the render method of `Toto`.
12-30 14:15:30.113  8571 15288 E ReactNativeJS: 
12-30 14:15:30.113  8571 15288 E ReactNativeJS: This error is located at:
12-30 14:15:30.113  8571 15288 E ReactNativeJS:     in RCTView (at View.js:60)
12-30 14:15:30.113  8571 15288 E ReactNativeJS:     in View (at TestPerf.js:67)
12-30 14:15:30.113  8571 15288 E ReactNativeJS:     in Toto (at renderApplication.js:33)
12-30 14:15:30.113  8571 15288 E ReactNativeJS:     in RCTView (at View.js:60)
12-30 14:15:30.113  8571 15288 E ReactNativeJS:     in View (at AppContainer.js:102)
12-30 14:15:30.113  8571 15288 E ReactNativeJS:     in RCTView (at View.js:60)
12-30 14:15:30.113  8571 15288 E ReactNativeJS:     in View (at AppContainer.js:122)
12-30 14:15:30.113  8571 15288 E ReactNativeJS:     in AppContainer (at renderApplication.js:32)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
sniglecommented, Feb 6, 2019

v1 fixed the issue 😃

Le mer. 6 févr. 2019 à 03:34, Kyle Roach notifications@github.com a écrit :

Closed #1697 https://github.com/react-native-training/react-native-elements/issues/1697 .

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/react-native-training/react-native-elements/issues/1697#event-2120178041, or mute the thread https://github.com/notifications/unsubscribe-auth/AHv6wmiUAffz-oA5KNVYFE29JHmM-zkBks5vKj8ZgaJpZM4Zk88k .

0reactions
iRoachiecommented, Feb 6, 2019

Closing as inactive. Feel free to message or create a new issue if this is still a concern. Also try v1.0.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

Input Value Attribute Not Showing In Search Bar - html
The Problem is the search bar works perfectly but on loading the search bar is not showing the term which is being searched....
Read more >
Autofocus on ion-searchbar - Ionic Forum
I am using beta 7. I have tried an autofocus attribute which does not work. Has anyone got the answer? My implementation is...
Read more >
foobar2000: Components Repository
Name Last Update Description ASIO Output 2.2. Tags: output 2022‑09‑19 Provides ASIO output support. ... Columns UI 2.0.0‑alpha.5. Tags: user interface 2022‑10‑18 An alternative user...
Read more >
macbook pro not detecting external display big sur
Solution 1: Type cmd to the search box and press Enter. My WDeasystore 4TB was recognized on my 2019 MacBook Pro 16-inch using...
Read more >
SearchBar - .NET MAUI
The .NET MAUI SearchBar is a user input control that is used for initiating a search. The SearchBar control supports placeholder text, ...
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