Skip to content

Update Component Rules

This guide explains how to modify component generation rules.

Note

Regardless of which method is used, what is ultimately modified is the component's rule data source. You must wrap rule with ref to maintain data reactivity.

Modify Component Configuration Items

Through API disabling, directly modifying rule objects, and using the updateRule method, dynamic updates and state switching of form component properties are achieved.

Modify Component Values

Directly modifying the value property of rule objects and using the api.setValue method achieve dynamic update functionality for form component values.

FormCreate is an open-source project released under the MIT License. Free for personal and commercial use.