[Feature]校验增加参数:校验不通过时,也正常赋新值,退出编辑。用户可以自己根据校验结果,给出明显的错误提示,在批量复制粘贴中,这种场景非常有必要。
Open
Nobody has claimed this yet.
feature
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
What problem does this feature solve?
校验失败,赋新值,并退出编辑,用户自己获取校验状态,给当前单元格自定义错误提示。在批量复制粘贴的场景,非常需要这种,以便于在错误的基础上做修改。
What does the proposed API look like?
api类似于inValidateButExitAndChangeValue这样的
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the table’s cell-edit validation and batch copy/paste entry points; no file or test is named in the issue. Clarify how validation status is exposed and how an API analogous to inValidateButExitAndChangeValue should behave. The work is done when invalid input is retained, editing exits, and callers can provide a custom error display.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100