Skip to main content

Watch

In fomir, you can subscribe some state changing by watch api.

Watch single field value

You can watch field state by watch [fieldName].[fieldProperty]:

Loading...
LIVE DEMO

Watch all values

Use *.value watch all values:

Loading...
LIVE DEMO

Watch form state

Use $.[property] watch form state, for example, $.submitCount:

Loading...
LIVE DEMO