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

Calendar input pt #5564

Closed
flash4174 opened this issue Dec 9, 2023 · 3 comments · Fixed by #5755
Closed

Calendar input pt #5564

flash4174 opened this issue Dec 9, 2023 · 3 comments · Fixed by #5755
Labels
Component: Unstyled Issue related to unstyled/passthrough attributes
Milestone

Comments

@flash4174
Copy link

flash4174 commented Dec 9, 2023

Describe the bug

Hey there,

Not sure if it is a bug, but I can’t get the calendar input pt work.

i tried to copy the basic tailwind pt from documentation, but I get the fn can’t apply error.

input: { root: ({ props }) => ({ className: classNames('font-sans text-base text-gray-600 dark:text-white/80 bg-white dark:bg-gray-900 p-3 border border-gray-300 dark:border-blue-900/40 transition-colors duration-200 appearance-none', 'hover:border-blue-500', { 'rounded-lg': !props.showIcon, 'border-r-0 rounded-l-lg': props.showIcon }) }) }

Withouth the props it’s working, but I would like to apply a style for disabled option.

Thanks

Reproducer

https://stackblitz.com/edit/react-ceahef?file=src%2FApp.js

PrimeReact version

10.2.1

React version

18.x

Language

ES5

Build / Runtime

Next.js

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@flash4174 flash4174 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 9, 2023
@melloware melloware added Resolution: Cannot Replicate Issue could not be replicated by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 9, 2023

This comment was marked as outdated.

@melloware

This comment was marked as outdated.

@melloware melloware added Component: Tailwind Tailwind specific issue and removed Resolution: Cannot Replicate Issue could not be replicated by Core Team labels Dec 9, 2023
@melloware
Copy link
Member

Oh yeah its this issue: #5215

@melloware melloware added this to the 10.3.0 milestone Dec 9, 2023
@melloware melloware added Component: Unstyled Issue related to unstyled/passthrough attributes and removed Component: Tailwind Tailwind specific issue labels Jan 2, 2024
@melloware melloware modified the milestones: 10.3.1, 10.4.0, 10.4.1 Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Unstyled Issue related to unstyled/passthrough attributes
Projects
None yet
2 participants