ngx-formly icon indicating copy to clipboard operation
ngx-formly copied to clipboard

initializer function of properties (dynamic props)

Open its-dibo opened this issue 1 year ago • 0 comments

this is very similar to expressions, but instead of separating expressions apart from the original property, use dynamic props directly with each prop

// pseudo code
fields = [{
  key: "city",
  required: field => (field, model) => model.country!== null
}]

its-dibo avatar May 06 '24 13:05 its-dibo