mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: TypeScript 5.8, nx migrate, dep updates - bundler resolution
This commit is contained in:
@@ -234,6 +234,7 @@ export class SearchBar extends SearchBarBase {
|
||||
[textProperty.getDefault](): string {
|
||||
return '';
|
||||
}
|
||||
// @ts-expect-error
|
||||
[textProperty.setNative](value: string) {
|
||||
const text = value === null || value === undefined ? '' : value.toString();
|
||||
this.nativeViewProtected.setQuery(text, false);
|
||||
@@ -241,6 +242,7 @@ export class SearchBar extends SearchBarBase {
|
||||
[hintProperty.getDefault](): string {
|
||||
return null;
|
||||
}
|
||||
// @ts-expect-error
|
||||
[hintProperty.setNative](value: string) {
|
||||
if (value === null || value === undefined) {
|
||||
this.nativeViewProtected.setQueryHint(null);
|
||||
|
||||
Reference in New Issue
Block a user