DataTables / Editor-NET

.NET Framework and .NET Core server-side libraries for Editor
Other
15 stars 12 forks source link

Feature Request: Allow set() to take flags. #19

Closed VictorioBerra closed 4 months ago

VictorioBerra commented 4 months ago

This does not work:

.Field(new Field("InventoryServer.UpdatedByDisplayName")
    .Set(Field.SetType.Create | Field.SetType.Edit) // <--------------------
    .SetValue("TODO"))

I think theres a lot of value here. Otherwise I have to do this in an event.

VictorioBerra commented 4 months ago

There is Field.SetType.Both