---
title: "scan input · RUAL Documentation"
description: "Will be autofocused on keydown if no input is given. Executes the connected function on enter or if the given length is reached"
canonical: https://docs.rual.nl/block-types/Component%20UI/component_input_scan
language: en
---

[Cluster](https://docs.rual.nl/cluster)

[Blocks](https://docs.rual.nl/block-types)

[Interfaces](https://docs.rual.nl/interfaces)

[Blueprints](https://docs.rual.nl/blueprints)

[Tutorials](https://docs.rual.nl/tutorials)

[Home automation](https://docs.rual.nl/home-automation)

[Examples](https://docs.rual.nl/examples)

[Reference](https://docs.rual.nl/reference)

[Architecture](https://docs.rual.nl/architecture)

[Troubleshooting](https://docs.rual.nl/troubleshooting)

Other

# scan input

This block is part of the [`Component UI`](https://docs.rual.nl/block-types/Component%20UI) group and was last modified in core [`v11.3.0`](https://docs.rual.nl/core-versions/110300).

Will be autofocused on keydown if no input is given. Executes the connected function on enter or if the given length is reached

- Field required `fielddefinitions` Field to save the value in

- Validate `fieldvalidation` Applies the given validation to the element, overwrites attributes given in the attributes popup

- Event `inputevent`

- On Scan `v10.4.7` `inpinfunction`

- uicomponent `uicomponent`

A typical wiring for [scan input](https://docs.rual.nl/block-types/Component%2520UI/component_input_scan): [combine](https://docs.rual.nl/block-types/fields/fielddefinitions_multiple) feeds the `co-fields` pin; the function out pin wires to an [execute](https://docs.rual.nl/block-types/function%2520execution/function_custom_execute_from_trigger) block.

[![Studio canvas example for the scan input block: typical wiring for scan input.](https://docs.rual.nl/canvas-examples/component_input_scan.png)](https://docs.rual.nl/canvas-examples/component_input_scan.png?v=3)

## Version history

Introduced in [`v11.3.0`](https://docs.rual.nl/core-versions/110300).

- [v10.4.7](https://docs.rual.nl/core-versions/100407): This block or one of its pins was updated in `v10.4.7`, click here to see the release notes.

- [Back to `Component UI`](https://docs.rual.nl/block-types/Component%20UI): Return to the main group to view all sub-groups

- [Back to `form`](https://docs.rual.nl/block-types/Component%20UI?group=form): Return to the group to view all blocks within this group

Was this page helpful? [Tell us what to improve](https://docs.rual.nl/support) · RUAL Docs is an integral component of the [RUAL ecosystem](https://rual.nl)
