Skip to content

feat(control-error): accept control name#588

Open
RobbyRabbitman wants to merge 4 commits intongxtension:mainfrom
RobbyRabbitman:feat/Allow-NgxControlError-accept-control-name-instead-of-instance
Open

feat(control-error): accept control name#588
RobbyRabbitman wants to merge 4 commits intongxtension:mainfrom
RobbyRabbitman:feat/Allow-NgxControlError-accept-control-name-instead-of-instance

Conversation

@RobbyRabbitman
Copy link
Contributor

);
});

it('should resolve a control by its name', () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @RobbyRabbitman
Can we add one more test with nested form group?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, do u know if the Token ControlContainer can be used to inject the parent control directive? From the source code it seems like those directives provide themselves see e.g. https://github.com/angular/angular/blob/f80b51a738ebccf5f280c50db85d0e250191a2a1/packages/forms/src/directives/reactive_directives/form_group_name.ts#L33C1-L36C3

@RobbyRabbitman RobbyRabbitman force-pushed the feat/Allow-NgxControlError-accept-control-name-instead-of-instance branch from 0f1bb26 to 3795917 Compare October 28, 2025 18:26
@RobbyRabbitman
Copy link
Contributor Author

#469

@eneajaho
Copy link
Collaborator

@RobbyRabbitman
Can we rebase this branch on latest please? If the CI passes I guess we can merge this one.

@Dafnik
Copy link
Contributor

Dafnik commented Feb 16, 2026

Hey! I’d really like to start using this utility in this way.

If the only blocker is that it needs to be rebased, I’m happy to take care of that.

If there’s no response, I’ll go ahead and do it in the next few days.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants