Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initializer function of properties (dynamic props) #3906

Open
its-dibo opened this issue May 6, 2024 · 0 comments
Open

initializer function of properties (dynamic props) #3906

its-dibo opened this issue May 6, 2024 · 0 comments

Comments

@its-dibo
Copy link

its-dibo commented May 6, 2024

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
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant