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

"_after" prop didn't work on "Input" component #8341

Closed
1 of 3 tasks
Exlau opened this issue Mar 6, 2024 · 1 comment
Closed
1 of 3 tasks

"_after" prop didn't work on "Input" component #8341

Exlau opened this issue Mar 6, 2024 · 1 comment

Comments

@Exlau
Copy link

Exlau commented Mar 6, 2024

Description

I'm trying to add some "&:;after" content on Input component using "_after" prop.
But seems didn't work.
Expect to have after content show up
Actual nothing shows up

Link to Reproduction

https://chakra-ui.com/docs/components/input/usage

Steps to reproduce

This could be reproduced on official doc site.
Go to https://chakra-ui.com/docs/components/input/usage
Edit the default Input usage code to "<Input placeholder='Basic usage' _after={{content: `"after content"`, width:"100px", height:"100px"}}/>"

image

Chakra UI Version

2.8.2

Browser

No response

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

@Exlau
Copy link
Author

Exlau commented Mar 6, 2024

Seems like input don't support ::after, my mistake.

@Exlau Exlau closed this as completed Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant