Countries Select2 Sub dropdown.

Hi Keenthemes,


Is there a way to achieve this :
https://ibb.co/9wVrc4D

https://ibb.co/TT9mBpb
here's the website in action : https://lemenuduchef.com/new/restaurant/register

Here's a JS component : https://intl-tel-input.com/

Since we got a custom County Table with custom pk and IDs, we would like to use our List of countries, (so using a component is not suitable for us), we just export the Country Querysets Table to Django frontend and that's it

I wanted to create one using "input-group".

- I wanted to use Select2 of countries as a block n° 1 in the picture to be part of the "input-group-text"
- And the input itself for Phone Block n°2 in the picture

Seems to be doable, isn't ??

What"s you suggestions guys ?, please advice, in you have any code it will be much appreciated.

Thank you so much

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (2)

Hi happy,

Sorry for the late reply. We will need time to try the above plugin and see how it will work. We will add this into our todo list and try to attend as soon as possible.

By the way, in the next update(this or next week) we will be releasing the new Datepicker plugin integration that will be a more robust solution over the Flatpicker which has a few known issues.

Regards.

Hi Sean thank's for the reply, but is there a way to create a same looke componenet with what we have in Metronic as input and select2(for countries) ???

Great for Datepicker, hope it's RTL support doens't have any rendering issue or .... you gotta try that out before making decisions LoL...

Thank you so much

Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(