0
반응 고유의 검색 용 Texinput을 도입했습니다.실패한 소품 유형이 유효하지 않은 '값'
constructor(props){
super(props);
this.state = {
value : "",
items: [],
}
this.handleHeaderSearch = this.handleHeaderSearch.bind(this);
this.handleSearchBtn = this.handleSearchBtn.bind(this);
}
handleSearchBtn(){
}
handleHeaderSearch(){
if(!this.state.value) return;
}
과 : 유효하지 않은
"실패 Warning 발생 소품 유형 :
<TextInput value={this.props.value} onChange = {this.props.onChange} placeholder={"جستجو"} blurOnSubmit={false} style={{flex:0.9}} returnKeyType="done" />
내가 텍스트 입력에 입력 한 후 안드로이드를 실행할 때마다, 나는이 경고가 표시 다음은 코드입니다 TextInput에 제공된 'object'유형의 'value', 예상 'string' "
값을 변경할 때 코드 스 니펫을 게시 할 수 있습니까? –
제대로 작동하고 경고 만 있습니다. –