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

fix: Invalid value prop-type #151

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bilobom
Copy link

@bilobom bilobom commented Apr 26, 2021

  • When changing any input using keyboard's up and down arrows, the following warning occurs :
Warning: Failed prop type: Invalid prop `value` of type `number` supplied to `Input`, expected `string`.
    in Input (created by YearInput/ MonthInput/ DayInput/ HourInput ...etc )
  • This PR seeks to solve this by casting values passed to different inputs to String, excluding null or undefined

fixes issue #146

wojtekmaj and others added 3 commits March 24, 2021 13:16
For Date & Time inputs when value is changed using keyboard  up and down arrows

fixes issue wojtekmaj#146
@wojtekmaj wojtekmaj force-pushed the main branch 2 times, most recently from 60dab23 to 0e0d0fa Compare January 29, 2022 06:58
@wojtekmaj wojtekmaj force-pushed the main branch 2 times, most recently from 26e7d57 to a9e7372 Compare March 24, 2022 08:38
@wojtekmaj wojtekmaj force-pushed the main branch 3 times, most recently from 692ce53 to 404049f Compare September 6, 2022 09:42
@wojtekmaj wojtekmaj force-pushed the main branch 7 times, most recently from 2f0138d to dc0eb5c Compare October 24, 2022 15:33
@wojtekmaj wojtekmaj force-pushed the main branch 6 times, most recently from 39ad647 to 2e5085f Compare November 8, 2022 11:09
@wojtekmaj wojtekmaj force-pushed the main branch 2 times, most recently from e6f5a4a to aaea0be Compare January 4, 2023 23:23
@wojtekmaj wojtekmaj force-pushed the main branch 2 times, most recently from 26bc1d8 to 33f443b Compare March 2, 2023 08:47
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

Successfully merging this pull request may close these issues.

2 participants