{% comment %} Pure CSS Scrolling Date Picker Visual Mock-up Usage: {% include calendar_input.liquid id="unique_calendar_id" (required for multiple instances) label="Select Date" (optional, defaults to "Select Date") placeholder="YYYY-MM-DD" (optional, defaults to "YYYY-MM-DD") %} This component is a visual mock-up and does not provide actual date selection functionality. The input field will not be updated by this picker. {% endcomment %} {% assign current_year = "now" | date: "%Y" | plus: 0 %} {% assign future_year_limit = current_year | plus: 10 %} {% assign years = "" %} {% for i in (current_year..future_year_limit) %} {% assign years = years | append: i | append: "," %} {% endfor %} {% assign years_array = years | split: "," %} {% assign months_array = "January,February,March,April,May,June,July,August,September,October,November,December" | split: "," %} {% assign days_array = "" %} {% for i in (1..31) %} {% assign days_array = days_array | append: i | append: "," %} {% endfor %} {% assign days_array = days_array | split: "," %}
{% for year_val in years_array %} {% if year_val != "" %}
{{ year_val }}
{% endif %} {% endfor %}
{% for month_val in months_array %} {% if month_val != "" %}
{{ month_val }}
{% endif %} {% endfor %}
{% for day_val in days_array %} {% if day_val != "" %}
{{ day_val }}
{% endif %} {% endfor %}

This is a visual mock-up. Date selection is not functional.