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
Combobox dev app #20276
Combobox dev app #20276
Conversation
…el, and some tests.
…impler for this PR.
…f an input reference in the combobox spec.
64a8624
to
e13b571
Compare
imports: [ | ||
CdkComboboxModule, | ||
CommonModule, | ||
RouterModule.forChild([{path: '', component: CdkComboboxDemo}]), |
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.
imports: [ | |
CdkComboboxModule, | |
CommonModule, | |
RouterModule.forChild([{path: '', component: CdkComboboxDemo}]), | |
imports: [ | |
CdkComboboxModule, | |
CommonModule, | |
RouterModule.forChild([{path: '', component: CdkComboboxDemo}]), |
'[id]': 'dialogId' | ||
} | ||
}) | ||
export class PanelContent<V> implements OnInit { |
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.
Is this just for testing, or do you intend for this to be the ultimate API?
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.
So this directive is just for testing/demo purposes. It is the directive that is applied to the custom panel content the user wishes to use, like their own dialog. It handles registering the content with the panel. I did realize it was doing more than I needed it to do in this example so I've toned it down.
…fixed indent sizes.
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.
LGTM
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Added simple combobox example to dev app and added a function to set the text of the combobox if the value is a string.