Country Data Component Question #16990
Unanswered
cuckoo-bird
asked this question in
Q&A / Support
Replies: 1 comment
-
The UI is based on Ext JS. It would be possible to override the field definition type for the country component and change the behaviour but this is nothing which I would really recommend. You could potentially get problems when updating Pimcore to newer versions (with the need to adapt your custom code after Pimcore updates). For your example the select box is created here: So you would need to find a way in Ext JS to do what you would like to achieve and then override the country field type definition of the core in a bundle (https://pimcore.com/docs/platform/Pimcore/Extending_Pimcore/Bundle_Developers_Guide/Pimcore_Bundles/). |
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
-
Hi Guys,
I am a beginner and would like to ask how I can modify the data component functionality (ie extend the JS). I added one from the selection
and every time I search I get multiple suggestions. I would like to make the search start with the first letter. For example typing on search "Au" should suggest countries starting with "Au" and not anything with "au" in the middle or last of the string
Thanks in advance
Ryan
Beta Was this translation helpful? Give feedback.
All reactions