We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've tried to create an Input with the following code:
Input
<Input type="date" {...register('expirationDate', { required: true })} />
What I get when the DOM renders is:
<input type="text" name="expirationDate" class="input focus:outline-offset-0 input-bordered" value="">
What I expected was:
<input type="date" name="expirationDate" class="input focus:outline-offset-0 input-bordered" value="">
I believe this line needs to be changed: https://github.com/daisyui/react-daisyui/blob/main/src/Input/Input.tsx#L48
type={props.text}
Also, text shows up in the IDE auto-complete:
The text was updated successfully, but these errors were encountered:
Fixed with #102 . Thanks @mikeyGlitz!
Sorry, something went wrong.
No branches or pull requests
I've tried to create an
Input
with the following code:What I get when the DOM renders is:
What I expected was:
I believe this line needs to be changed:
https://github.com/daisyui/react-daisyui/blob/main/src/Input/Input.tsx#L48
Also, text shows up in the IDE auto-complete:
The text was updated successfully, but these errors were encountered: