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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blacklist unsupported input types in Textfield #2869

Open
mimarz opened this issue Dec 9, 2024 · 1 comment
Open

Blacklist unsupported input types in Textfield #2869

mimarz opened this issue Dec 9, 2024 · 1 comment
Labels
react @digdir/designsystemet-react

Comments

@mimarz
Copy link
Collaborator

mimarz commented Dec 9, 2024

Update the type prop for Textfield with a blacklist of unsupported input types.

@mimarz mimarz added the react @digdir/designsystemet-react label Dec 9, 2024
@mimarz mimarz moved this to 🔵 Inbox in Team Design System Dec 9, 2024
@mrosvik mrosvik moved this from 🔵 Inbox to 📄 Todo in Team Design System Dec 11, 2024
@Barsnes
Copy link
Member

Barsnes commented Dec 13, 2024

Here is a list of suggestions to blacklist:

  • button
  • image
  • range
  • reset
  • submit

Could also do color, but this seems to work fine:
image

file also seems fine:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
react @digdir/designsystemet-react
Projects
Status: 📄 Todo
Development

No branches or pull requests

3 participants