Open ChennaAmrutha opened 2 years ago
Sure, just replace the players update with something like this:
players: updateArray( state => { state = setUserDefinedProperty('yourProperty', someValue, state); return updateGroup<PlayerFormValue>(state, { ebuNumber: validate<string>([required, pattern(/^[0-9a-z]+$/)]), firstName: validate<string>(required), lastName: validate<string>(required), }); } ),
Originally posted by @MrWolfZ in https://github.com/MrWolfZ/ngrx-forms/issues/45#issuecomment-365756229
Sure, just replace the players update with something like this:
Originally posted by @MrWolfZ in https://github.com/MrWolfZ/ngrx-forms/issues/45#issuecomment-365756229