[Editable(false)] Does not work for AutoUI with GridView and BusinessPackDataSet
When in edit mode, textbox for editing is shown which should't be. When using GridViewDataSet and not BusinessPackDataSet it works as expected.
configuration in DotvvmStartup.cs:
options.AddBusinessPack();
options.AddAutoUI(config =>
{
config.AddBusinessPackProviders(options);
});
model for AutoUI:
public class Customer
{
[Editable(false)]
public int Id { get; set; }
[Editable(true)]
public string Name { get; set; }
}
Id should not be editable but for some reason is.
using BusinessPack version 4.3.0