lion/docs/components/input-tel-dropdown/examples.md

855 B

Input Tel Dropdown >> Examples ||30

import { html } from '@mdjs/mdjs-preview';
import '@lion/select-rich/define';
import './src/intl-input-tel-dropdown.js';
import { loadDefaultFeedbackMessages } from '@lion/validate-messages';

Input Tel International

A visually advanced Subclasser implementation of LionInputTelDropdown.

Inspired by:

export const IntlInputTelDropdown = () => {
  loadDefaultFeedbackMessages();
  return html`
    <intl-input-tel-dropdown
      .preferredRegions="${['NL', 'PH']}"
      .modelValue=${'+639608920056'}
      label="Telephone number"
      help-text="Advanced dropdown and styling"
      name="phoneNumber"
    ></intl-input-tel-dropdown>
  `;
};