Carregando...
TagriaLib Documentation v4
autoComplete
AttributeRequiredTypeDescription
nametruejava.lang.StringIt indicates the name of the hidden input.
placeHolderfalsejava.lang.StringIndicates placeHolder for autoComplete
placeHolderKeyfalsejava.lang.StringIndicates placeHolder key (i18n) for autoComplete
widthfalsejava.lang.IntegerIndicates the autoComplete result box width
heightfalsejava.lang.IntegerIndicates the autoComplete result box max height
requiredfalsejava.lang.BooleanIndicates whether the component form is mandatory in form
textfalsejava.lang.StringIt indicates the text to be show on input load.
textKeyfalsejava.lang.StringIt indicates the text key (i18n) to be show on input load.
valuefalsejava.lang.StringIt indicates the value of the hidden input.
urltruejava.lang.StringIt indicates url to execute query.
minLengthfalsejava.lang.IntegerIt indicates min length of input. Default: 3
delayfalsejava.lang.IntegerIt indicates delay in ms to listen changes. Default: 1000
<html:view>
			<html:autoComplete url="/app/autoComplete" name="myautoComplete">
				<html:autoCompleteOnSelect>
					console.log(value);
					console.log(text);
				</html:autoCompleteOnSelect>
			</html:autoComplete>
		</html:view>