Git Product home page Git Product logo

Comments (6)

liamdebeasi avatar liamdebeasi commented on May 4, 2024

Do you have any examples of applications that implement this pattern?

from ionic-framework.

donhmorris avatar donhmorris commented on May 4, 2024

It's not clear to me if you are asking for en example of using a searchbar with helper text of if you are looking for an example of how the existing helperText feature works for ion-input.
Can you give more clarification of what you are asking?

The use case is the same as for ion-input; provide help text to the user. For example, the app I am currently working on requires a min of 4 characters to initiate a search of user names. Since there can be a million or more user names to search, 4 chars are required to begin a search. A helperText feature that works like the ion-input would be used to inform users of the 4 char requirement and that searches are case insensitive.

Does this description help or is there something else I can do?

from ionic-framework.

liamdebeasi avatar liamdebeasi commented on May 4, 2024

I would like to know if there is an example of a real world application that uses helper text with a searchbar. The helper/error text in Ionic was designed for the Material Design specification which does not include helper text for the Searchbar. However, if there are examples of this in existing apps then the team might want to consider adding it.

from ionic-framework.

donhmorris avatar donhmorris commented on May 4, 2024

Ahh. That explains why it is not there now. I will do some research.
It seems like an obvious omission to me. The use case I shared is a good example. Searches are frequently (but not always) case insensitive. When I use one it is always the first thing i question. "Is this doing a case insensitive search?"
Would my app qualify as a valid use case? πŸ˜€ It is about 4 to 6 months away from being published. Here is a screenshot of a workaround I did for helper text.
Simulator Screenshot - iPhone 15 - 2024-04-22 at 15 17 02

from ionic-framework.

liamdebeasi avatar liamdebeasi commented on May 4, 2024

Thanks for the additional info! I spoke with the team, and we don't have plans to add this functionality at the moment. The helper/error text was originally intended to be used with form validation such as password strength and email validation. I recommend using the solution you demonstrated in the screenshot above.

from ionic-framework.

donhmorris avatar donhmorris commented on May 4, 2024

I understand. I checked the md site and they did not have a provision for helper text.

I'm going to try suggesting the addition to the md team. If they decide to go with it, I will contact you guys.

from ionic-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.