Home:ALL Converter>How to Set Textfield in flutter to accept only certain values specified from a list or variable in Flutter

How to Set Textfield in flutter to accept only certain values specified from a list or variable in Flutter

Ask Time:2021-09-22T05:45:54         Author:Mithson

Json Formatter

I am working on a web app where users can post stuffs and make them more accessible by associating the posts with tags. so my idea is similar to stackoverflow's way of giving tags to posts, I am creating a Textfield with which will accept only few tags(string values) which I will create from a list and users can put them in their post. But I aint getting how to implement this as textfield has only few keyboardtypes... and I what I want to achieve is if I entered a value from a that list then it should act like a chip text(tag). or Is there any other way to do this,

your help is appreciated, thank you

Author:Mithson,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/69275883/how-to-set-textfield-in-flutter-to-accept-only-certain-values-specified-from-a-l
programmer :

Yes, there is. you can use the flutter_tagging package on the PUB\nIt has supports for Web\nThe gif below explains what you want to achieve\n",
2021-09-21T23:09:41
yy