Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Update FormInput.react.js #495

Merged
merged 2 commits into from
Feb 22, 2021
Merged

Update FormInput.react.js #495

merged 2 commits into from
Feb 22, 2021

Conversation

klip
Copy link
Contributor

@klip klip commented Dec 3, 2019

fix(Input): A bug fix

Added attributes "step" and "defaultValue" to input

  1. Added support for passing defaultValue for an input
  2. Added support for attribute "step" for input[type=number]

image

fix(Input): A bug fix

Added attributes "step" and "defaultValue" to input

1. Added support for passing defaultValue for an input
2. Added support for attribute "step"  for input[type=number]

![image](https://user-images.githubusercontent.com/3054199/70046032-7d1cc700-15c5-11ea-966f-1dc5eca90df5.png)
@SalahAdDin
Copy link

@klip
Copy link
Contributor Author

klip commented Sep 2, 2020

@SalahAdDin

Usually onClick event is not required on input.
Currently the following events are supported and should cover 99% of all cases

onChange,
onMouseEnter,
onMouseLeave,
onPointerEnter,
onPointerLeave,
onFocus,
onBlur,
onKeyPress,
onKeyUp,
onKeyDown,
onCopy,
onCut,
onPaste,

@SalahAdDin
Copy link

@klip It is required to react-datetimepicker.

Add onClick Event

Required by tabler#495 (comment)
@klip
Copy link
Contributor Author

klip commented Sep 2, 2020

@SalahAdDin Added under the same merge request

@jonthomp jonthomp merged commit 2b38a7d into tabler:master Feb 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants