Skip to content

Button: Repeat limitation for button content in label option's desc #284

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

Closed
wants to merge 2 commits into from

Conversation

jzaefferer
Copy link
Member

Fixes #282

<desc>Text to show in the button. When not specified (<code>null</code>), the element's HTML content is used, or its <code>value</code> attribute if the element is an input element of type submit or reset, or the HTML content of the associated label element if the element is an input of type radio or checkbox.</desc>
<desc>
<p>Text to show in the button. When not specified (<code>null</code>), the element's HTML content is used, or its <code>value</code> attribute if the element is an input element of type submit or reset, or the HTML content of the associated label element if the element is an input of type radio or checkbox.</p>
<p>When using an input of type button, submit or reset, support is limited to plain text labels with no icons.</p>
Copy link
Member

Choose a reason for hiding this comment

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

Drop "with no icons" and add "When using an input of type button, submit or reset, icons are not supported." in the icons option.

@jzaefferer
Copy link
Member Author

Updated.

@scottgonzalez
Copy link
Member

Looks good.

@jzaefferer
Copy link
Member Author

Landed in master. Also rebased the 1-12 branch on top, resolving the conflict from this change: https://github.com/jquery/api.jqueryui.com/pull/283/files#diff-bf14c9f5ccd16aa682040e25fcc9231eR49

@Krinkle Krinkle deleted the button-label-limits branch March 27, 2023 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants