-
Notifications
You must be signed in to change notification settings - Fork 2.9k
[TextField, Panel] Removed componentId internal prop #3896
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
Changes from 2 commits
47089e9
25999ba
15261c3
c2e3a1d
1a7bb04
1fcae10
01de8d3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| { | ||
| "changes": [ | ||
| { | ||
| "packageName": "office-ui-fabric-react", | ||
| "comment": "[TextField, Panel] Removed componentId internal", | ||
| "type": "minor" | ||
| } | ||
| ], | ||
| "packageName": "office-ui-fabric-react", | ||
| "email": "law@microsoft.com" | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -168,11 +168,6 @@ export interface IPanelProps extends React.Props<Panel> { | |
| * Custom renderer for content in the sticky footer | ||
| */ | ||
| onRenderFooterContent?: IRenderFunction<IPanelProps>; | ||
|
|
||
| /** | ||
| * Internal ID passed to render functions. | ||
| */ | ||
| componentId?: string; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You can't remove this; it will break consumers. Please Add a I'm not sure this is something we need to keep respecting though, because it doesn't change any behavior of the component. But, it would be good to add a
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. |
||
| } | ||
|
|
||
| export enum PanelType { | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -222,11 +222,6 @@ export interface ITextFieldProps extends React.AllHTMLAttributes<HTMLInputElemen | |
| */ | ||
| iconClass?: string; | ||
|
|
||
| /** | ||
| * Internal ID passed to render functions. | ||
|
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note: this wasn't even passed to every render function, it was just being passed to onRenderLabel. |
||
| */ | ||
| componentId?: string; | ||
|
|
||
| /** | ||
| * Whether the input field should have autocomplete enabled. | ||
| * This tells the browser to display options based on earlier typed values. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a patch, if you leave the prop intact.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, done.