feat: challenge 40 - forms control value accessor

This commit is contained in:
Stanislav
2023-12-08 02:07:03 +03:00
parent 29abc233d1
commit b29aa6ccf5

View File

@@ -1,6 +1,6 @@
---
title: 🟠 Control Value Accessor
description: Challenge 40 is about ...
description: Challenge 40 is about creating a custom form control that implements Control Value Accessor interface.
author: stanislav-gavrilov
challengeNumber: 40
command: forms-control-value-accessor
@@ -10,11 +10,11 @@ sidebar:
---
:::note
WIP: The following documentation need to be written.
WIP: The following documentation will be reviewed and improved. However, you can still take on the challenge. If you dont understand a certain part, please feel free to reach out or create an issue.
:::
## Information
## Statement
## Constraints
In this exercise, you have to rewrite FeedbackControlComponent. It should implement Control Value Accessor interface.
This interface is crucial for creating custom form controls that can interact seamlessly with Angular's forms API.
The primary goal is to use control in the feedbackForm to eliminate the need for using @Output to retrieve the value and check it.