[PR #20363] [CLOSED] fix: replace month input with dropdowns for Firefox compatibility #64435

Closed
opened 2026-05-06 10:01:32 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/20363
Author: @majiayu000
Created: 1/4/2026
Status: Closed

Base: devHead: fix/month-input-firefox-fallback


📝 Commits (1)

  • e76f66c fix: replace month input with year/month dropdowns for Firefox compatibility

📊 Changes

1 file changed (+52 additions, -10 deletions)

View changed files

📝 src/lib/components/chat/MessageInput/InputVariablesModal.svelte (+52 -10)

📄 Description

Pull Request Checklist

  • Target branch: Verify that the pull request targets the dev branch.
  • Description: Provided below.
  • Testing: Manually tested on Firefox and Chrome.
  • Agentic AI Code: This PR has gone through human review and manual testing.
  • Code review: Self-reviewed.

Changelog Entry

Description

  • Replace native <input type="month"> with two dropdown selects (year and month)
  • Firefox does not support <input type="month">, causing the picker to not render
  • The dropdown approach works consistently across all browsers

Fixed

  • Fixed month input type not showing in prompts on Firefox (#20151)

Additional Information

  • Fixes [PR #93] [MERGED] doc: update (#20151)
  • Output format remains YYYY-MM for compatibility with existing prompt configurations
  • Year range: 10 years before and 10 years after the current year
  • Month names are internationalized using the existing i18n system

Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/20363 **Author:** [@majiayu000](https://github.com/majiayu000) **Created:** 1/4/2026 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `fix/month-input-firefox-fallback` --- ### 📝 Commits (1) - [`e76f66c`](https://github.com/open-webui/open-webui/commit/e76f66c1624c1e74fbe4871456ef6b53bf02d52d) fix: replace month input with year/month dropdowns for Firefox compatibility ### 📊 Changes **1 file changed** (+52 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/MessageInput/InputVariablesModal.svelte` (+52 -10) </details> ### 📄 Description # Pull Request Checklist - [x] **Target branch:** Verify that the pull request targets the `dev` branch. - [x] **Description:** Provided below. - [x] **Testing:** Manually tested on Firefox and Chrome. - [x] **Agentic AI Code:** This PR has gone through human review and manual testing. - [x] **Code review:** Self-reviewed. # Changelog Entry ### Description - Replace native `<input type="month">` with two dropdown selects (year and month) - Firefox does not support `<input type="month">`, causing the picker to not render - The dropdown approach works consistently across all browsers ### Fixed - Fixed month input type not showing in prompts on Firefox (#20151) --- ### Additional Information - Fixes #20151 - Output format remains `YYYY-MM` for compatibility with existing prompt configurations - Year range: 10 years before and 10 years after the current year - Month names are internationalized using the existing i18n system ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](https://github.com/open-webui/open-webui/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-06 10:01:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#64435