Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: mark parameters as required#17551

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
jaaydenh merged 2 commits intomainfromjaaydenh/dynamic-params-required-fields
Apr 24, 2025

Conversation

jaaydenh
Copy link
Contributor

@jaaydenhjaaydenh commentedApr 23, 2025
edited
Loading

This adds a red asterisk next to a parameter name if it is required and marks passes the parameter required value to input and textarea form controls.

The multi-select combobox needs additional work (in a separate PR) so that it can handle the required prop correctly for form submit.

Screenshot 2025-04-24 at 00 02 10

@jaaydenhjaaydenh self-assigned thisApr 23, 2025
<LabelclassName="flex gap-2 flex-wrap text-sm font-medium">
{displayName}

<spanclassName="flex">
Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

For now, I decided to add the required asterisk for all parameters even though it really doesn't make sense for (checkbox, slider, radio, switch) since all parameters have the required prop.

@jaaydenhjaaydenh requested a review fromaslilacApril 23, 2025 23:02
@jaaydenhjaaydenh merged commite562e3c intomainApr 24, 2025
29 checks passed
@jaaydenhjaaydenh deleted the jaaydenh/dynamic-params-required-fields branchApril 24, 2025 21:14
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 24, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@aslilacaslilacaslilac approved these changes

Assignees

@jaaydenhjaaydenh

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@jaaydenh@aslilac

[8]ページ先頭

©2009-2025 Movatter.jp