Closed
Description
Feature request
Now the following code throws an exception. Even if the BindableTextField
is marked as read-only.
public class NameViewModel : IBindingContext
{
[Observable]
private readonly IReadOnlyProperty<string> _name = new ReadOnlyProperty<string>(nameof(NameViewModel));
}
<ui:UXML xmlns:uitk="UnityMvvmToolkit.UITK.BindableUIElements" ...>
<uitk:BindableTextField binding-value-path="Name" />
</ui:UXML>
I'd like to allow this type of binding if a BindableTextField
is read-only.