onFocusChanged

Deprecated

Please migrate to the new form implementation. This legacy code will be removed in a future version.

Adds a callback to be invoked when the focus state of the field changes.

Return

The applied modifier.

Parameters

target

The field to observe.