DevExtreme v24.2 is now available.

Explore our newest features/capabilities and share your thoughts with us.

Your search did not match any results.

React Lookup - Handle Value Change

To handle changes to the Lookup component's value, specify the onValueChanged function. This demo uses it to display a picture and text for the selected item.

The Lookup component applies the selected value instantly. If you want users to click the Apply button instead, set the applyValueMode property to "useButtons". It adds the Apply button to the component's drop-down menu. This demo does not show this functionality.

To give you the ability to edit code on the fly, the demo uses SystemJS. For this reason, launching the demo takes some time. We strongly recommend that you do not use this approach in real projects.
Backend API