Skip to content

【select】select组件使用options属性替代Option组件时,disabled属性如何设置? #28358

Answered by yoyo837
tianzhich asked this question in Q&A
Discussion options

You must be logged in to vote
options={[{
    disabled: true
}]}

试试

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@tianzhich
Comment options

Answer selected by tianzhich
Comment options

You must be logged in to vote
2 replies
@tianzhich
Comment options

@yoyo837
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants