We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.4.1
vue 3.9.3
<a-range-picker :placeholder="['Start year', 'End year']" format="YYYY" :value.sync="valueYear" :mode="modeYear" @panelChange="handlePanelChange" @change="handleChange"/>
modeYear: ['year', 'year'], valueYear: []
handleChange (value) { console.log(value) this.valueYear = value }, handlePanelChange (value, mode) { console.log(mode) this.valueYear = value this.mode2 = [ mode[0] === 'date' ? 'year' : mode[0], mode[1] === 'date' ? 'year' : mode[1] ] }
面板点击的年份样式会发生变化
点击时不会发生变化,需要重新打开面板才会改变
The text was updated successfully, but these errors were encountered:
fix: item not active when set mode year #1321
3d8d78e
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
No branches or pull requests
Version
1.4.1
Environment
vue 3.9.3
Reproduction link
Steps to reproduce
<a-range-picker
:placeholder="['Start year', 'End year']"
format="YYYY"
:value.sync="valueYear"
:mode="modeYear"
@panelChange="handlePanelChange"
@change="handleChange"/>
modeYear: ['year', 'year'],
valueYear: []
handleChange (value) {
console.log(value)
this.valueYear = value
},
handlePanelChange (value, mode) {
console.log(mode)
this.valueYear = value
this.mode2 = [
mode[0] === 'date' ? 'year' : mode[0],
mode[1] === 'date' ? 'year' : mode[1]
]
}
What is expected?
面板点击的年份样式会发生变化
What is actually happening?
点击时不会发生变化,需要重新打开面板才会改变
The text was updated successfully, but these errors were encountered: