Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat(module:input) adds required attribute to input elements. #3383

Merged
merged 4 commits into from
Aug 5, 2023

Conversation

eizzn
Copy link
Contributor

@eizzn eizzn commented Aug 1, 2023

when a form variable is decorated with the required validation, the required attribute is added to the input html

no breaking changes

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • Component style update
  • Bundle size optimization
  • Performance optimization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

💡 Background and solution

📝 Changelog

Language Changelog
🇺🇸 English
🇨🇳 Chinese

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Changelog is provided or not needed

when a form variable is decorated with the required validation, the required attribute is added to the input html

no breaking changes
@github-actions
Copy link

github-actions bot commented Aug 1, 2023

@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Patch coverage: 66.66% and project coverage change: -0.01% ⚠️

Comparison is base (33816a1) 46.84% compared to head (dd04b59) 46.84%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3383      +/-   ##
==========================================
- Coverage   46.84%   46.84%   -0.01%     
==========================================
  Files         558      558              
  Lines       26844    26847       +3     
  Branches      268      268              
==========================================
+ Hits        12575    12576       +1     
- Misses      14229    14231       +2     
  Partials       40       40              
Files Changed Coverage Δ
components/input/Input.cs 67.94% <50.00%> (-0.12%) ⬇️
components/form/FormItem.razor.cs 71.42% <100.00%> (+0.15%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ElderJames ElderJames merged commit 511d904 into ant-design-blazor:master Aug 5, 2023
5 of 6 checks passed
@eizzn eizzn deleted the input-required branch August 7, 2023 14:26
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.

None yet

2 participants