diff --git a/src/components/autocomplete/AutoComplete.d.ts b/src/components/autocomplete/AutoComplete.d.ts index 6671b527ae..a6172c7ad0 100755 --- a/src/components/autocomplete/AutoComplete.d.ts +++ b/src/components/autocomplete/AutoComplete.d.ts @@ -27,7 +27,7 @@ interface AutoCompleteProps { maxlength?: number; size?: number; appendTo?: any; - tabindex?: number; + tabIndex?: number; autoFocus?: boolean; tooltip?: any; tooltipOptions?: TooltipOptions; diff --git a/src/components/autocomplete/AutoComplete.js b/src/components/autocomplete/AutoComplete.js index 0480206231..3d12dc6952 100644 --- a/src/components/autocomplete/AutoComplete.js +++ b/src/components/autocomplete/AutoComplete.js @@ -40,7 +40,7 @@ export class AutoComplete extends Component { maxlength: null, size: null, appendTo: null, - tabindex: null, + tabIndex: null, autoFocus: false, tooltip: null, tooltipOptions: null, @@ -89,7 +89,7 @@ export class AutoComplete extends Component { maxlength: PropTypes.number, size: PropTypes.number, appendTo: PropTypes.any, - tabindex: PropTypes.number, + tabIndex: PropTypes.number, autoFocus: PropTypes.bool, tooltip: PropTypes.string, tooltipOptions: PropTypes.object, @@ -615,7 +615,7 @@ export class AutoComplete extends Component { defaultValue={this.formatValue(this.props.value)} role="searchbox" aria-autocomplete="list" aria-controls={this.listId} aria-labelledby={this.props.ariaLabelledBy} className={inputClassName} style={this.props.inputStyle} autoComplete="off" readOnly={this.props.readonly} disabled={this.props.disabled} placeholder={this.props.placeholder} size={this.props.size} - maxLength={this.props.maxlength} tabIndex={this.props.tabindex} + maxLength={this.props.maxlength} tabIndex={this.props.tabIndex} onBlur={this.onInputBlur} onFocus={this.onInputFocus} onChange={this.onInputChange} onMouseDown={this.props.onMouseDown} onKeyUp={this.props.onKeyUp} onKeyDown={this.onInputKeyDown} onKeyPress={this.props.onKeyPress} onContextMenu={this.props.onContextMenu} @@ -643,7 +643,7 @@ export class AutoComplete extends Component {
  • this.inputEl = el} type={this.props.type} disabled={this.props.disabled} placeholder={this.props.placeholder} role="searchbox" aria-autocomplete="list" aria-controls={this.listId} aria-labelledby={this.props.ariaLabelledBy} - autoComplete="off" tabIndex={this.props.tabindex} onChange={this.onInputChange} id={this.props.inputId} name={this.props.name} + autoComplete="off" tabIndex={this.props.tabIndex} onChange={this.onInputChange} id={this.props.inputId} name={this.props.name} style={this.props.inputStyle} className={this.props.inputClassName} maxLength={this.props.maxlength} onKeyUp={this.props.onKeyUp} onKeyDown={this.onInputKeyDown} onKeyPress={this.props.onKeyPress} onFocus={this.onMultiInputFocus} onBlur={this.onMultiInputBlur} /> diff --git a/src/components/captcha/Captcha.js b/src/components/captcha/Captcha.js index 4f07585b4d..02520078bf 100644 --- a/src/components/captcha/Captcha.js +++ b/src/components/captcha/Captcha.js @@ -22,7 +22,7 @@ export class Captcha extends Component { theme: PropTypes.string, type: PropTypes.string, size: PropTypes.string, - tabindex: PropTypes.number, + tabIndex: PropTypes.number, language: PropTypes.string, onResponse: PropTypes.func, onExpire: PropTypes.func diff --git a/src/components/colorpicker/ColorPicker.d.ts b/src/components/colorpicker/ColorPicker.d.ts index 9c4d596145..b975bc5477 100644 --- a/src/components/colorpicker/ColorPicker.d.ts +++ b/src/components/colorpicker/ColorPicker.d.ts @@ -11,11 +11,11 @@ interface ColorPickerProps { format?: string; appendTo?: any; disabled?: boolean; - tabindex?: string; + tabIndex?: string; inputId?: string; tooltip?: any; tooltipOptions?: TooltipOptions; onChange?(value: any, target: {name: string, id: string, value: any}): void; } -export class ColorPicker extends React.Component {} \ No newline at end of file +export class ColorPicker extends React.Component {} diff --git a/src/components/inputmask/InputMask.d.ts b/src/components/inputmask/InputMask.d.ts index 83fb51546c..142f557f2d 100644 --- a/src/components/inputmask/InputMask.d.ts +++ b/src/components/inputmask/InputMask.d.ts @@ -14,7 +14,7 @@ interface InputMaskProps { placeholder?: string; size?: number; maxlength?: number; - tabindex?: number; + tabIndex?: number; disabled?: boolean; readonly?: boolean; name?: string; diff --git a/src/components/inputmask/InputMask.js b/src/components/inputmask/InputMask.js index 292e09f272..2f51678d00 100644 --- a/src/components/inputmask/InputMask.js +++ b/src/components/inputmask/InputMask.js @@ -21,7 +21,7 @@ export class InputMask extends Component { placeholder: null, size: null, maxlength: null, - tabindex: null, + tabIndex: null, disabled: false, readonly: false, name: null, @@ -48,7 +48,7 @@ export class InputMask extends Component { placeholder: PropTypes.string, size: PropTypes.number, maxlength: PropTypes.number, - tabindex: PropTypes.number, + tabIndex: PropTypes.number, disabled: PropTypes.bool, readonly: PropTypes.bool, name: PropTypes.string, @@ -605,7 +605,7 @@ export class InputMask extends Component { let inputMaskClassName = classNames('p-inputmask', this.props.className); return ( this.input = ReactDOM.findDOMNode(el)} type={this.props.type} name={this.props.name} style={this.props.style} className={inputMaskClassName} placeholder={this.props.placeholder} - size={this.props.size} maxLength={this.props.maxlength} tabIndex={this.props.tabindex} disabled={this.props.disabled} readOnly={this.props.readonly} + size={this.props.size} maxLength={this.props.maxlength} tabIndex={this.props.tabIndex} disabled={this.props.disabled} readOnly={this.props.readonly} onFocus={this.onFocus} onBlur={this.onBlur} onKeyDown={this.onKeyDown} onKeyPress={this.onKeyPress} onInput={this.onInput} onPaste={this.handleInputChange} required={this.props.required} aria-labelledby={this.props.ariaLabelledBy} /> ); diff --git a/src/showcase/autocomplete/AutoCompleteDoc.js b/src/showcase/autocomplete/AutoCompleteDoc.js index 231c53957b..95cc5459c1 100644 --- a/src/showcase/autocomplete/AutoCompleteDoc.js +++ b/src/showcase/autocomplete/AutoCompleteDoc.js @@ -490,7 +490,7 @@ itemTemplate(item) { DOM element instance where the overlay panel should be mounted. - tabindex + tabIndex number null Index of the element in tabbing order. diff --git a/src/showcase/captcha/CaptchaDoc.js b/src/showcase/captcha/CaptchaDoc.js index a2d329be63..3ffaa9351b 100644 --- a/src/showcase/captcha/CaptchaDoc.js +++ b/src/showcase/captcha/CaptchaDoc.js @@ -184,7 +184,7 @@ showResponse(response) { tabIndex number 0 - The tabindex of the widget and challenge. + The tabIndex of the widget and challenge. language diff --git a/src/showcase/inputmask/InputMaskDoc.js b/src/showcase/inputmask/InputMaskDoc.js index 676da8beb9..5f42373729 100644 --- a/src/showcase/inputmask/InputMaskDoc.js +++ b/src/showcase/inputmask/InputMaskDoc.js @@ -335,7 +335,7 @@ import { InputMask } from 'primereact/inputmask'; Maximum number of character allows in the input field. - tabindex + tabIndex number null Specifies tab order of the element. diff --git a/src/showcase/inputnumber/InputNumberDoc.js b/src/showcase/inputnumber/InputNumberDoc.js index a8b0f1d194..4d779dd6b7 100644 --- a/src/showcase/inputnumber/InputNumberDoc.js +++ b/src/showcase/inputnumber/InputNumberDoc.js @@ -743,7 +743,7 @@ Vertical When present, it specifies that an input field must be filled out before submitting the form. - tabindex + tabIndex number null Index of the element in tabbing order.