A basic HTML input control for entering text, numbers, or passwords. Note that checkbox and radio types are supported through the Checklist and RadioItems component. Dates, times, and file uploads are also supported through separate components.
Static member | Description |
Full Usage:
Input.applyMembers (id, children, ?value, ?style, ?className, ?debounce, ?inputType, ?autoComplete, ?autoFocus, ?disabled, ?inputMode, ?list, ?max, ?maxLength, ?min, ?minLength, ?multiple, ?name, ?pattern, ?placeholder, ?readOnly, ?required, ?selectionDirection, ?selectionEnd, ?selectionStart, ?size, ?spellCheck, ?step, ?nSubmit, ?nSubmitTimestamp, ?nBlur, ?nBlurTimestamp, ?setProps, ?loadingState, ?persistence, ?persistedProps, ?persistenceType)
Parameters:
string
children : seq<DashComponent>
?value : IConvertible
?style : DashComponentStyle
?className : string
?debounce : bool
?inputType : InputType
?autoComplete : string
?autoFocus : bool
?disabled : bool
?inputMode : InputMode
?list : string
?max : IConvertible
?maxLength : IConvertible
?min : IConvertible
?minLength : IConvertible
?multiple : bool
?name : string
?pattern : string
?placeholder : IConvertible
?readOnly : bool
?required : bool
?selectionDirection : string
?selectionEnd : string
?selectionStart : string
?size : string
?spellCheck : SpellCheckOptions
?step : IConvertible
?nSubmit : IConvertible
?nSubmitTimestamp : IConvertible
?nBlur : IConvertible
?nBlurTimestamp : IConvertible
?setProps : obj
?loadingState : LoadingState
?persistence : IConvertible
?persistedProps : string[]
?persistenceType : PersistenceTypeOptions
Returns: Input -> Input
|
|
Full Usage:
Input.init (id, children, ?value, ?style, ?className, ?debounce, ?inputType, ?autoComplete, ?autoFocus, ?disabled, ?inputMode, ?list, ?max, ?maxLength, ?min, ?minLength, ?multiple, ?name, ?pattern, ?placeholder, ?readOnly, ?required, ?selectionDirection, ?selectionEnd, ?selectionStart, ?size, ?spellCheck, ?step, ?nSubmit, ?nSubmitTimestamp, ?nBlur, ?nBlurTimestamp, ?setProps, ?loadingState, ?persistence, ?persistedProps, ?persistenceType)
Parameters:
string
children : seq<DashComponent>
?value : IConvertible
?style : DashComponentStyle
?className : string
?debounce : bool
?inputType : InputType
?autoComplete : string
?autoFocus : bool
?disabled : bool
?inputMode : InputMode
?list : string
?max : IConvertible
?maxLength : IConvertible
?min : IConvertible
?minLength : IConvertible
?multiple : bool
?name : string
?pattern : string
?placeholder : IConvertible
?readOnly : bool
?required : bool
?selectionDirection : string
?selectionEnd : string
?selectionStart : string
?size : string
?spellCheck : SpellCheckOptions
?step : IConvertible
?nSubmit : IConvertible
?nSubmitTimestamp : IConvertible
?nBlur : IConvertible
?nBlurTimestamp : IConvertible
?setProps : obj
?loadingState : LoadingState
?persistence : IConvertible
?persistedProps : string[]
?persistenceType : PersistenceTypeOptions
Returns: Input
|
|