Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Form split show-require-mark and require-mark-placement #1055

Closed
Hawods opened this issue Sep 2, 2021 · 0 comments · Fixed by #1104
Closed

Form split show-require-mark and require-mark-placement #1055

Hawods opened this issue Sep 2, 2021 · 0 comments · Fixed by #1104
Assignees
Labels
feature request New feature or request

Comments

@Hawods
Copy link
Contributor

Hawods commented Sep 2, 2021

This function solves the problem (这个功能解决的问题)

Expected results:

Depends on rules when field is required then place require-mark on left.

Actual results:

When show-require-mark='left' always show require mark

Expected API (期望的 API)

<n-form
  :model="formValue"
  :rules="rules"
  :show-require-mark="undefined"
  :require-mark-placement="left"
>
  ...
</n-form>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
feature request New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants