InputDatepicker: Enable overriding invoker icon template #1943
Closed
ghost
started this conversation in
Open for contributions
Replies: 1 comment
-
|
Submitted pull request (#1944). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While the component allows overriding the _invokerTemplate, it would be simpler to allow changing the icon template only.
The proposed solution is to extract the icon emoji into a overrideable method called _invokerIconTemplate. This would remove a lot of boilerplate to set the __invokerId (which is private), and set a button around it.
I'm happy to send a pull request.
Beta Was this translation helpful? Give feedback.
All reactions