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

Edit fields functionality #4

Open
rGiladi opened this issue Apr 22, 2018 · 0 comments
Open

Edit fields functionality #4

rGiladi opened this issue Apr 22, 2018 · 0 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@rGiladi
Copy link
Owner

rGiladi commented Apr 22, 2018

This functionality should help solve a scenario where you want to use one of the default fields but to change one of its properties.

I was thinking on a direction of providing the ability to edit the field's array directly.
Another possibility is to take advantage of deepmerge's arrayMerge option and provide a simple algorithm that will merge arrays in a way the we can do something like

AccountsReact.editFields('signUp', [
  {
     _id: 'password',
     maxLength: 72
  }
])
@rGiladi rGiladi added help wanted Extra attention is needed good first issue Good for newcomers labels Apr 22, 2018
@rGiladi rGiladi changed the title Edit fields Edit fields functionality Apr 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant