> For the complete documentation index, see [llms.txt](https://jsf.gitbook.io/jsf/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jsf.gitbook.io/jsf/schema/property-options/on-value-change.md).

# On value change

When prop value changes you can change some other prop's value.

```typescript
interface onValueChange {
    noEmit?: boolean,
    updateDependencyValue?: {
      mode?: 'set' | 'patch'
      key: string,
      onLinked?: boolean;
      condition?: {
        onLinked?: boolean;
        $eval: string
      },
      value: {
        onLinked?: boolean;
        $eval?: string
        const?: any
        default?: true
      }
    }[]
}
```
