Skip to main content

Dependent field

Handle onFieldChange

use onValueChange and setFieldState to update node state:

Loading...
LIVE DEMO

Dependent self

Also you can update self state when onValueChange:

Loading...
LIVE DEMO

Handle Visible

Most of the time, you should handle visible status for some field:

Loading...
LIVE DEMO