feat(subscription): 소득 기준 힌트 표시 + input 범위 제한
income_level 입력 필드에 특별공급별 소득 기준(%)'을 안내 텍스트로 표시. 미입력 시 검증 생략됨을 명시. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1078,6 +1078,13 @@
|
|||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sub-form-hint {
|
||||||
|
font-size: 10px;
|
||||||
|
color: var(--text-dim);
|
||||||
|
opacity: 0.7;
|
||||||
|
line-height: 1.4;
|
||||||
|
}
|
||||||
|
|
||||||
.sub-form-input {
|
.sub-form-input {
|
||||||
background: var(--bg-tertiary);
|
background: var(--bg-tertiary);
|
||||||
border: 1px solid var(--line);
|
border: 1px solid var(--line);
|
||||||
|
|||||||
@@ -1360,10 +1360,13 @@ function ProfileTab() {
|
|||||||
<input
|
<input
|
||||||
className="sub-form-input"
|
className="sub-form-input"
|
||||||
type="number"
|
type="number"
|
||||||
|
min="0"
|
||||||
|
max="300"
|
||||||
value={profile.income_level || ''}
|
value={profile.income_level || ''}
|
||||||
onChange={e => handleChange('income_level', e.target.value)}
|
onChange={e => handleChange('income_level', e.target.value)}
|
||||||
placeholder="도시근로자 평균 대비 %"
|
placeholder="도시근로자 월평균 대비 %"
|
||||||
/>
|
/>
|
||||||
|
<span className="sub-form-hint">청년 ≤140 / 신혼·생애최초 ≤160 / 신생아 ≤200 · 미입력 시 검증 생략</span>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user