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

The placeholder property for number input not working #11731

Open
2 tasks done
uxsniper opened this issue Apr 19, 2024 · 1 comment
Open
2 tasks done

The placeholder property for number input not working #11731

uxsniper opened this issue Apr 19, 2024 · 1 comment
Labels
bug Something isn't working dev Needs some dev work

Comments

@uxsniper
Copy link

Description

The placeholder property for number input seems not to be working for carbon web components. Is this a known issue?

Component(s) impacted

Number input

Browser

No response

Carbon for IBM.com version

^2.7.0

Severity

Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.

Application/website

UAB

Package

@carbon/web-components

CodeSandbox example

https://codesandbox.io/p/devbox/github/carbon-design-system/carbon-for-ibm-dotcom/tree/main/packages/carbon-web-components/examples/codesandbox/basic/components/number-input?file=%2Fsrc%2Findex.js%3A11%2C1

Steps to reproduce the issue (if applicable)

No response

Release date (if applicable)

No response

Code of Conduct

@uxsniper uxsniper added bug Something isn't working dev Needs some dev work labels Apr 19, 2024
@annawen1
Copy link
Member

The component goes into error state when user does not set the value property. We should set the default for the value property to 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dev Needs some dev work
Projects
Status: No status
Development

No branches or pull requests

2 participants