You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					31 lines
				
				1.0 KiB
			
		
		
			
		
	
	
					31 lines
				
				1.0 KiB
			| 
								 
											2 years ago
										 
									 | 
							
								<wxs src="../wxs/utils.wxs" module="utils" />
							 | 
						||
| 
								 | 
							
								<input
							 | 
						||
| 
								 | 
							
								  id="{{ name }}"
							 | 
						||
| 
								 | 
							
								  class="{{ utils.bem('field__control', [inputAlign, { disabled, error }]) }} input-class"
							 | 
						||
| 
								 | 
							
								  type="{{ type }}"
							 | 
						||
| 
								 | 
							
								  focus="{{ focus }}"
							 | 
						||
| 
								 | 
							
								  cursor="{{ cursor }}"
							 | 
						||
| 
								 | 
							
								  value="{{ innerValue }}"
							 | 
						||
| 
								 | 
							
								  auto-focus="{{ autoFocus }}"
							 | 
						||
| 
								 | 
							
								  disabled="{{ disabled || readonly }}"
							 | 
						||
| 
								 | 
							
								  maxlength="{{ maxlength }}"
							 | 
						||
| 
								 | 
							
								  placeholder="{{ placeholder }}"
							 | 
						||
| 
								 | 
							
								  placeholder-style="{{ placeholderStyle }}"
							 | 
						||
| 
								 | 
							
								  placeholder-class="{{ utils.bem('field__placeholder', { error }) }}"
							 | 
						||
| 
								 | 
							
								  confirm-type="{{ confirmType }}"
							 | 
						||
| 
								 | 
							
								  confirm-hold="{{ confirmHold }}"
							 | 
						||
| 
								 | 
							
								  hold-keyboard="{{ holdKeyboard }}"
							 | 
						||
| 
								 | 
							
								  cursor-spacing="{{ cursorSpacing }}"
							 | 
						||
| 
								 | 
							
								  adjust-position="{{ adjustPosition }}"
							 | 
						||
| 
								 | 
							
								  selection-end="{{ selectionEnd }}"
							 | 
						||
| 
								 | 
							
								  selection-start="{{ selectionStart }}"
							 | 
						||
| 
								 | 
							
								  always-embed="{{ alwaysEmbed }}"
							 | 
						||
| 
								 | 
							
								  password="{{ password || type === 'password' }}"
							 | 
						||
| 
								 | 
							
								  bindinput="onInput"
							 | 
						||
| 
								 | 
							
								  bindtap="onClickInput"
							 | 
						||
| 
								 | 
							
								  bindblur="onBlur"
							 | 
						||
| 
								 | 
							
								  bindfocus="onFocus"
							 | 
						||
| 
								 | 
							
								  bindconfirm="onConfirm"
							 | 
						||
| 
								 | 
							
								  bindkeyboardheightchange="onKeyboardHeightChange"
							 | 
						||
| 
								 | 
							
								/>
							 |