Button: Deprecate text option; rename to showLabel
Using 'text' as a boolean to control whether or not the button label is shown isn't very intuitive. It also could easily conflict with other frameworks that might use 'text' to set the label of a variety of controls. Can we change the name to something a little more descriptive, like 'showLabel' or 'showName'?
Change History (7)
Type: |
enhancement →
feature
|
Milestone: |
1.9.0 →
1.11.0
|
Milestone: |
none →
1.12.0
|
Resolution: |
→ fixed
|
Status: |
open →
closed
|
Summary: |
'text' is a confusing name for the option →
Button: Deprecate text option; rename to showLabel
|
Priority: |
minor →
blocker
|
I already opened a pull request on GitHub fixing this issue. https://github.com/jquery/jquery-ui/pull/712