yiisoft / yiisoft/form-model

Implement `LabelsProviderInterface` on `FormModel`

Open
#78 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
17
Forks
7
Avg merge
58m
Merged PRs (30d)
1

Description

public function getValidationPropertyLabels(): array
{
    return $this->getPropertyLabels();
}

Do it after https://github.com/yiisoft/validator/issues/777

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

First check issue #777, which must be completed before this work. Then inspect FormModel and LabelsProviderInterface to confirm the required method and interface contract. Add the indicated method to FormModel and run the repository's available tests to verify validation property labels are returned correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.