普通Picker在与Form的结合,Picker的children属性无法拿到所选的值。 #6257
Unanswered
Canyonmnmn
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
文档中描述的
在文档中,datePicker的children的类型值为(value: PickerDate, actions:
PickerActions) => ReactNode,可以使用value来显示所选的值。但是picker的children类型(items: PickerColumnItem[], actions:
PickerActions) => ReactNode,items并不是选的值,而是渲染的列表数据。那么普通picker渲染选到值的方法,和datepicker不能算是一类实现方式了吧。
Beta Was this translation helpful? Give feedback.
All reactions