Skip to content

修复:在第 5 步中,优先使用可见的年龄输入框,而非隐藏的生日字段#1

Merged
QLHazyCoder merged 1 commit into
QLHazyCoder:masterfrom
HeartlessHero:master
Apr 9, 2026
Merged

修复:在第 5 步中,优先使用可见的年龄输入框,而非隐藏的生日字段#1
QLHazyCoder merged 1 commit into
QLHazyCoder:masterfrom
HeartlessHero:master

Conversation

@HeartlessHero
Copy link
Copy Markdown
Contributor

Summary

  • fix Step 5 field detection to prefer visible input[name="age"]
  • stop treating hidden input[name="birthday"] as a birthday-mode signal
  • preserve birthday-mode handling for visible birthday controls

Problem

On some pages, a visible age input and a hidden birthday input coexist.

The previous logic treated the hidden input[name="birthday"] as evidence of birthday mode, which caused Step 5 to
fill birthday instead of age.

Verification

  • reproduced on a page where input[name="age"] is visible
  • confirmed input[name="birthday"] exists but is hidden
  • verified Step 5 now enters the age branch and fills the age input correctly

  ## Summary
  - fix Step 5 field detection to prefer visible `input[name="age"]`
  - stop treating hidden `input[name="birthday"]` as a birthday-mode signal
  - preserve birthday-mode handling for visible birthday controls

  ## Problem
  On some pages, a visible age input and a hidden birthday input coexist.

  The previous logic treated the hidden `input[name="birthday"]` as evidence of birthday mode, which caused Step 5 to
  fill birthday instead of age.

  ## Verification
  - reproduced on a page where `input[name="age"]` is visible
  - confirmed `input[name="birthday"]` exists but is hidden
  - verified Step 5 now enters the age branch and fills the age input correctly
@QLHazyCoder QLHazyCoder merged commit f134926 into QLHazyCoder:master Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants