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
在表单中需要填入label值,提交表单时需要提交value值。目前result只返回了value值,请问使用者们怎么把label值填入表单页面显示出来的...... 不返回一个对象,只返回value,是出于什么特殊的考虑吗?
The text was updated successfully, but these errors were encountered:
当时是考虑到尽量让result结构简单一些,所以label只作为展示而不作返回值。 因为现在label和value都是可以自己定制,你可以考虑先将value直接定义成你想要的样子。
我们讨论一下返回label是否必要。
Sorry, something went wrong.
还好
确实,我现在只能把value + '-' + label整体作为value再自己截取
value + '-' + label
value
picker返回label 同时兼容老版本 #20
7ea2607
现在v1.1.0 picker将同时返回label和value了
No branches or pull requests
在表单中需要填入label值,提交表单时需要提交value值。目前result只返回了value值,请问使用者们怎么把label值填入表单页面显示出来的......
不返回一个对象,只返回value,是出于什么特殊的考虑吗?
The text was updated successfully, but these errors were encountered: