R3 icon indicating copy to clipboard operation
R3 copied to clipboard

Bidirectional Binding Between TMP_InputField and BindableReactiveProperty

Open peyman1959 opened this issue 8 months ago • 0 comments

Hi Currently, achieving two-way binding between BindableReactiveProperty and Unity UI elements like TMP_InputField requires manual synchronization:

Subscribing to TMP_InputField.onValueChanged to update the property.

Subscribing to the property to update TMP_InputField.text.

This is verbose and error-prone (e.g., requires checks to avoid infinite loops). A built-in solution would streamline UI integration.

Is there a better way to achive this ?

peyman1959 avatar Apr 05 '25 07:04 peyman1959