Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

IP address input component #42227

Open
mohsenomidi opened this issue May 13, 2024 · 3 comments
Open

IP address input component #42227

mohsenomidi opened this issue May 13, 2024 · 3 comments
Assignees
Labels
new feature New feature or request status: waiting for maintainer These issues haven't been looked at yet by a maintainer

Comments

@mohsenomidi
Copy link

mohsenomidi commented May 13, 2024

I am wondering to know, is there any plan to add ip address input component (IPV4-separated by dot "." And IPV6)

Thanks 馃檹

Search keywords:

@github-actions github-actions bot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label May 13, 2024
@mj12albert
Copy link
Member

mj12albert commented May 14, 2024

@mohsenomidi I think its quite unlikely we'll provide a component for that, at least in the foreseeable future

Is your use-case to format the value in a TextField or something like that?

To achieve that functionality, I suggest you try integrating a library like react-imask instead

Here are our docs (TextField) about this: https://mui.com/material-ui/react-text-field/#integration-with-3rd-party-input-libraries

@mj12albert mj12albert added status: waiting for author Issue with insufficient information and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels May 14, 2024
@mnajdova mnajdova added the new feature New feature or request label May 14, 2024
@mohsenomidi
Copy link
Author

Thanks for your reply

This is not only about masking or validating, i'd like the user have same feeling like windows ip input.(from design and shape and also functionality when pressing dot move to next position and so on)

@github-actions github-actions bot added status: waiting for maintainer These issues haven't been looked at yet by a maintainer and removed status: waiting for author Issue with insufficient information labels May 16, 2024
@mohsenomidi
Copy link
Author

As I manipulated the input component in mui, I think the strategy is having only text input and handle other types of inputs even primitive ones like number input by 3rd party libraries, this is what I understand, it make difficult to handle complicated inputs or specific inputs by matching textbox with the requirements...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request status: waiting for maintainer These issues haven't been looked at yet by a maintainer
Projects
None yet
Development

No branches or pull requests

3 participants