input

v0.0.5arrow_drop_down
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Failing
DOWNLOADS
14
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
1 contributor
Install input as a package?
Copied
npm i @bit/ach5910.mefrontend.ui.input
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right
Properties
NameTypeDefault value
label
string""
name
string""
className
string""
placeholder
stringundefined
handleChange
(required)
function
value
custom
editOnFocus
boolfalse
required
boolfalse
pattern
stringundefined
handleKeyDown
functionnoop
readOnly
boolfalse
tabIndex
custom"0"
type
string"text"
min
custom""
max
custom""
step
custom"any"
error
string""
bindInput
objectOf{}
Test Summary

renders an input with a label

Skipped

displays error messages

Skipped

sets an input as required

Skipped

blocks input when readOnly prop is true

Skipped

allows input when readOnly prop is false

Skipped

calls handleChange with the change event

Skipped

blocks text input on a number input

Skipped

sets the number input to invalid when value is outside of range

Skipped
Help and resources