1,018 questions
1
vote
1
answer
54
views
SearchAnchor.openView() : change (inherited) width of SearchBar?
On my flutter_map I have an IconButton which it should cause a SearchBar to appear only when clicked. When search is done, the SearchBar can go into hiding again and only said icon be visible.
I have ...
2
votes
2
answers
380
views
How to remove weird white section behind ios26 searchbar?
I want the website to be fullscreen on iOS 26 so that there’s no background behind the search bar. I want it to be floating over the website, like the screenshot from appleparts.nl below. The other ...
0
votes
1
answer
47
views
How a page knows when a flyout page summoned by the user gets closed
Maui shell app. My page ThingListView has a CollectionView of items populated by a Sqlite query. Page A also has a SearchBar control which filters the list. Works beautifully.
Now the user clicks an ...
0
votes
1
answer
96
views
Android Compose SearchBar content alignment vertically?
I want to use SearchBar from Compose, but I need to set another height. However, the problem is that if I do this, then the EditText inside & all the content would remain fixed at the top. I need ...
0
votes
1
answer
405
views
How to use compose SearchBar?
How can I update SearchBar results with every key pressed on the keyboard? there is no value and valuechanged variables on it. Here is the documentation.
This is the sample:
@Composable
fun ...
1
vote
1
answer
6k
views
How to implement a searchable select using shadcn
I need a component, where the dropdown only shows when something has been typed into the input. Similar to mantine searchable select but using shadcn. Same way you type into google searchbar before ...
3
votes
1
answer
81
views
Redirect keyword search result to a url
I am learning website building, html, css, javascript. I want to know how to redirect a search result to a url on click event.
I have a simple local website, not online, just on my pc.
I have few ...
0
votes
1
answer
154
views
How to fix onBackPressed for an expanded material3 SearchBar?
I am using androidx.compose.material3.SearchBar in its expanded state in my Android project. I am using androidx.compose:compose-bom:2024.09.02 which includes androidx.compose.material3:material3-*:1....
0
votes
2
answers
44
views
Prevent EditText in SearchBar from covering MenuItem Button
I cannot figure out how to get the EditText to not cover the area where my MenuItem icon button is within this SearchBar.
Is there no best way this is handled?
Layout snippet:
<com.google....
0
votes
2
answers
81
views
Show Icon after TextForm Field
Expanded(
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
children: [
SizedBox(height: 40),
Row(
children: [
SizedBox(...
0
votes
1
answer
522
views
How to search by multiple filters with Firebase in my Flutter app?
I made a search bar for my Flutter App and put a filtering button next to this search bar.
When the user clicks on this filtering button, a 'bottom sheet' will open on the screen and user can select ...
0
votes
1
answer
31
views
Flutter Web Searchfield is not filtering results in suggestions after text input
I'm trying to search through List<Map<String, dynamic>> partyList where each map stores information about party. I implemented searchfield as follows.
Padding(
padding: const ...
1
vote
1
answer
2k
views
how to change the shape to SearchBar widget in flutter
I want search bar in a rectangle shape, but corner should be slightly rounded. by default its corder are too rounded. anyone can help me to make its corner customisable. Below is the code I tried.
...
1
vote
0
answers
35
views
React - Reset search list state after searching twice
A react newbie here.
I have a functioning search bar by which it is possible to search and go to the url of the item in the list. This is achieved by useNavigate. I have two problems with this.
What I ...
0
votes
0
answers
44
views
VBA - Search & Display : result doesn't take comment/URL into account
I've been working on a dynamic search bar in Excel, following this video, and it works fine.
=IF(I3="","No match",FILTER(Table1,ISNUMBER(SEARCH(I3,Table1[Sujet])),"No match&...
2
votes
1
answer
128
views
Ion-Searchbar not showing on native Android device
When I run my angular (ionic) app on the browser everything works and looks fine. (Angular v17.0.2, Ionic v8.2.2).
When I npx cap sync it and try it out on a device with Android Studio it looks like ...
0
votes
2
answers
266
views
Android.Views.InflateException when trying to migrate a SearchBar custom renderer in .net MAUI
My Exact issue and same code is already reported by someone at the below git link. The code samples are also present in the GIT reported issue.
When migrating my Xamarin app to MAUI and when using a ...
0
votes
0
answers
89
views
How do I search through a specific table in phpmyadmin with the elementor(wordpress) search bar?
So I am pretty new to Wordpress and am trying to build a website. The thing I want to do is to add some tables with people's names and some info about them. Then in the website's page containing a ...
1
vote
1
answer
151
views
How to set up a search bar to search the entire Shiny app page?
I want to put a search bar that looks for all occurrences of a word inside a Shiny app. I have this code which works with the boton_google so I would like to have it work with all buttons. For example,...
0
votes
3
answers
433
views
How do I put an image in the background of the search bar?
That my first post here.
I'm a self-taught developer and I'd really like to learn how to put an image in the background of a search bar.
I can imagine that HTML isn't suitable, but I don't know CSS ...
1
vote
1
answer
155
views
How to bold matched letters when typing in search box using javascript?
How can I type within a search box and have the letters I type turn bold from suggested words? For example, I type "he" in search bar and it looks like this as I type: help. Also, if I type ...
1
vote
1
answer
496
views
How to animate SearchBox placeholder text using Android Jetpack Compose?
I want to animate the placeholder of my SearchBar Composable just like the Google Play Store searchbar placeholder.
I tried to do it, but it does not seem to be as subtle as the Google Play Store.
...
2
votes
1
answer
2k
views
Jetpack Compose Material 3 SearchBar in Scaffold Scrolling Issue
I have a scaffold with a Column app bar and a SearchBar composable from md3, the content of my scaffold is a Column with vertical scroll behavior:
val appBarState = rememberTopAppBarState()
val ...
0
votes
1
answer
544
views
How do I center "search button" next to the search bar with CSS?
I'm learning programming (web development), I started yesterday, I want to specifically center the "search button" next to the search bar, but for some reason it doesn't seem to work, may ...
2
votes
1
answer
375
views
Material Design SearchView has no method "setOnQueryTextListener"
I am struggling to implement material components search in my android app following this tutorial
I built a basic app with viewbinding, added implementation 'com.google.android.material:material:1.11....
2
votes
1
answer
554
views
Flutter SuggestionBuilder of SearchAnchor not updating when Riverpod Provider changes
I'm building a searchbar using Flutter, Whenever the user searches something I need to do an API request to my backend to get the suggestions. When these suggestions are fetched I want to show them ...
0
votes
0
answers
140
views
React Native Search Bar with search engine
I created my first public github repo with some open source, where I created a Search Bar with a search engine. I did it with the intention of saving people's time and helping them.
I need your help ...
0
votes
0
answers
30
views
Lower border of search bar input container not appearing - React Native
My current search bar looks like this (lower border does not appear).
This is its current code:
<SearchBar
containerStyle={{
backgroundColor: "white",
padding: 10,
...
0
votes
1
answer
123
views
Google Maps Searchbar in Flutter
Is the Searchbar in google apps such as Gmail, Goole Maps an AppBar with integrated Searchbar or just a Searchbar put on top of the rest of the body?
I'm trying to implement something like that with ...
1
vote
1
answer
210
views
how to use material 3 searchbar from xml
I want to use material 3 searchbar in my kotlin app, I can't figure out how to put and get the text in searchbar, when I click on it, it behaves like a button (shows ripples) but can't put text in it
&...
0
votes
1
answer
159
views
FormMethod.Get with Html.BeginForm gives error in ASP.NET Core MVC
I an trying to implement a search query string for my searchbar.
Following the Microsoft documentation: Adding search, it suggested using Html.BeginForm("action", "controller", ...
1
vote
2
answers
1k
views
Resize SearchAnchor suggestions list to content
I'm trying to resize the view of a SearchAnchor to its content. Let's say I have some basic code (taken from here): https://api.flutter.dev/flutter/material/SearchAnchor-class.html. I don't know how ...
0
votes
1
answer
58
views
why SearchBar not retaining entered text in results - in React.js
I have some issues with my searchBar.jsx
Upon typing a word into the SearchBar, the expected search results are displayed correctly. However, when I proceed to delete the entered text, the displayed ...
0
votes
2
answers
318
views
showing country api info (capital, currency,...) of a world countries dropdown selection in a card container
I'm trying to show the card info of South Africa as default value (before typing any country's name into the search bar input field or chosing a specific country out of a given list) and the according ...
0
votes
1
answer
2k
views
SwiftUI - custom buttom next to iOS search bar
I want to achieve something like this in my SwiftUI project:
I am looking to add a custom button next to the search bar, but I am unable to find relevant information online. Is it possible to achieve ...
0
votes
1
answer
659
views
search bar that updates after every letter inputted html and javascript
So I have a site that has a ton of buttons, but I want to make a search bar that after every letter, it compares the contents with the id or alt of each button, so basically if I type “he”, it will ...
1
vote
2
answers
1k
views
Flutter align hint text to center vertically and horizontally in SearchBar Widget when height is less than default
I am trying to create a search bar in my app which includes a hint text in it. However my output of it looks weird where the hint text is not align to the center vertically on the SearchBar. The img ...
-1
votes
1
answer
35
views
Why isn't it displaying Textinput Before Main Component?
App.tsx
import React from 'react';
import {
SafeAreaView,
StatusBar,
StyleSheet,
TextInput,
View,
} from 'react-native';
import Main from './screens/Main';
function App(): JSX.Element {
...
0
votes
1
answer
505
views
World countries search bar with Vue.js (using restcountries API)
The API country data get loaded (see console.log() entry and the added picture of my working desk) but no country info is shown when dragging the mouse cursor into the search bar field (should show ...
2
votes
2
answers
1k
views
SearchBar text style for Android Compose Material3
I'm using the SearchBar included in the Compose library with Material3: androidx.compose.material3.SearchBar.
(Question 1) I'm trying to customize it a bit and I don't know how to set custom font for ...
1
vote
1
answer
966
views
'package:flutter/src/material/search_anchor.dart': Failed assertion: line 940 pos 12: '_anchor != null': is not true
I am using the Search bar and Search Anchor in my Flutter project which is newly introduced with material3.
I am facing an error while moving back from the search view.
It moves back to the previous ...
0
votes
2
answers
1k
views
SearchBar error : "App\Entity\Product" object not found by "Symfony\Bridge\Doctrine\ArgumentResolver\EntityValueResolver"
I am having an issue with my searchBar which is included in the base.html.twig file with a template.
It was working when I was only displaying products with the function findAll, but now I have my own ...
3
votes
2
answers
3k
views
How to make suggestions appear below the SearchBar
I want to make the list of suggestions appear below the SearchBar like in this example:
I used the same code in the sample but the search box and the list goes fullscreen like this when the search ...
0
votes
1
answer
228
views
Probem with implementing my search bar(fuzzywuzzy) flutter
I'm using the package fuzzywuzzy from flutter and I don't know why but it says my result variable is null.
Can you guys help me and explain why?
I wanted the value of result I tried putting it in an ...
0
votes
1
answer
679
views
SwiftUI native SearchBar: trigger API request if search text change
In 2020 when I first touch SwiftUI, it needs to rollback to UIKit for SearchBar because in that time SwiftUI doesn't support it well.
I used below code to create searchbar in 2020
import SwiftUI
...
-1
votes
1
answer
35
views
Search bar for my blog doesn't show the filtered blogs
Here is my code, I cannot reach any result from the search bar.
const RecentBlogs = ({recentBlogs}) => {
const [query, setQuery] = useState("")
const filteredItems = (() => {
if(!...
0
votes
1
answer
769
views
Search Bar Widget problem about Preferred Size Widget
I'm creating a mobile app by using flutter framework. I want to add a search bar to my home page. Home page and Search bar files are separate than each other. Here is my home_screen.dart file
import '...
-1
votes
1
answer
106
views
How can I show the keyboard when clicking in a Flutter Searchbar?
In an Android Flutter/Dart app, I have a SearchBar at the top of the screen. If the user clicks in the SearchBar, the keyboard shows. If the user then dismisses the keyboard (with the down arrow on ...
0
votes
1
answer
356
views
search bar with debounce using react hooks
import React, { useEffect, useState } from 'react'
import axios from 'axios'
function AutoCompleteInput() {
const[data,setData] = useState([])
const [filtereddata,setfilteredData]=useState([]...
5
votes
0
answers
2k
views
How I can implement custom search bar with menu icon in jetpack compose
I implement this successfully
After that I want to implement custom search bar with menu icon like this on TopAppBar and no suggest strings needed, but this custom search bar not created by me
...