-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/form-fielddocsThis issue is related to documentationThis issue is related to documentationhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue
Description
Bug/Feature enhancement
In this provided example of a phone number: creating-a-custom-form-field-control
There is a few things that are lacking:
- Size is not enforced. the Demo has size 3 but a user is allowed to type as many char as they want.
-- The extra char's (more than 3) are overflow hidden so you dont see them.
-- After writing this up, I found this should bemaxlength="3" - Auto advance. It would be nice if the input would auto advance to the next into once the size has been reached.
- The span dashes are selectable (implementation css could turn this off).
- Since this is actually one form control, it would be nice to highlight all number at once and hit delete to clear out the values (but dont know if this is possible since they are separate input boxes)
- The demo works in the link but when you click open in stackblitz ... the HTML file is empty ... therefore the demo does not work
baruchvlz, tschock and michahell
Metadata
Metadata
Assignees
Labels
P5The team acknowledges the request but does not plan to address it, it remains open for discussionThe team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/form-fielddocsThis issue is related to documentationThis issue is related to documentationhelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue