Skip to content

Edit fields functionality #4

Description

@rGiladi

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
  }
])

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions