Repository navigation
Example of InputChips being generated from user's input. #128247
Description
Activity
- addedframeworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.p: material_uimaterial_ui package in flutter/packagesmaterial_ui package in flutter/packagesd: examplesSample code and demosSample code and demos
on Jun 5, 2023 - changed the title
[-]Add an example for `InputChip`s are generated from user's input.[/-][+]Exanple of `InputChip`s being generated from user's input.[/+]on Jun 5, 2023 Wow that was a long time ago 😅
cc: @HansMuller
An updated version of this example, or something similar would be really useful. This is an important use case. The original example (https://gist.github.com/slightfoot/c6c0f1f1baca326a389a9aec47886ad6) is copyrighted, so I think we'd need something new but with similar capabilities.
Reacted by Taha Tesser- changed the title
[-]Exanple of `InputChip`s being generated from user's input.[/-][+]Example of `InputChip`s being generated from user's input.[/+]on Jun 6, 2023 I'll come back to this in a couple of weeks.
(Anyone want to use fix this before, feel free to file PR)
3 remaining items
- addedteam-designOwned by Design Languages teamOwned by Design Languages teamtriaged-designTriaged by Design Languages teamTriaged by Design Languages team
on Jul 8, 2023 Hello everyone,
I've just opened a PR to try to solve this issue. I've studied the subject using the sample by @slightfoot (https://gist.github.com/slightfoot/c6c0f1f1baca326a389a9aec47886ad6) and then I heavily changed it to be Flutter 3 compatible and more easy to understand (or at least this is what I had in mind 😉).
I'm not sure about how copyright works in this case and if my adaptation could be considered safe to be merged.
You have my permission 😁
Reacted by Andrea Cioni and Jay Mehta- added a commit that references this issue
on Sep 1, 2023 Closing because this was fixed in #130645.
- addedr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version
on Sep 5, 2023 This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Sep 19, 2023
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fields✅ Done
Is there an existing issue for this?
Use case
Material guidelines show
InputChipbeing generated by user inputs.kzhfok2g-chip_extra-backspace_3P.mp4
Current documentation doesn't showcase how to achieve this.
https://master-api.flutter.dev/flutter/material/InputChip-class.html
I found an old but really cool example by @slightfoot
https://stackoverflow.com/a/52415307
Proposal
Add a useful example where
InputChips are generated by user inputs.