/** * Integration Example: Using Modern Select in PHP * ================================================= * * STEP 1: Include CSS and JS in your PHP file (before or in header) * ------------------------------------------------------------------------- * * * * * * STEP 2: Add data-select="true" to your * * * * * * * * STEP 3: That's it! The JS auto-initializes on page load. * --------------------------------------------------------- * * * ================================================ * CUSTOMIZATION OPTIONS * ================================================ * * Size variants: * data-size="sm" - Small (28px height) * data-size="md" - Medium (36px height) [default] * data-size="lg" - Large (40px height) * * Placeholder text: * data-placeholder="Select your option" * * Full width: * data-full-width="true" * * Disabled state: * Just add the disabled attribute to native select * * * * ================================================ * EXAMPLE: Converting existing selects * ================================================ * * BEFORE: * * * AFTER: * * * * ================================================ * OPTGROUP SUPPORT * ================================================ * * * * * ================================================ * FORM SUBMISSION NOTE * ================================================ * * The native