You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
一般的需求是输入 label 搜索值,设置 value ,且当前 ProFormSelect 的 name 值 一般也会 value 的属性,而不是对应 value 值。
例如:数据库字段为 type 作为 ProFormSelect 的 name , 但是搜索的值一般是中文,保存到服务段的也是 type 字段。这就导致,如果设置 type 的值,就不是要显示的值
The text was updated successfully, but these errors were encountered:
ProFormSelect 在属性只有 options 且类型一致的情况下,能够正常设置默认值
但是如果是 searchable 和 request 的情况下,不能够设置默认值,也没有触发请求。
一般情况下,服务端返回的是 label 和 value,
一般的需求是输入 label 搜索值,设置 value ,且当前 ProFormSelect 的 name 值 一般也会 value 的属性,而不是对应 value 值。
例如:数据库字段为 type 作为 ProFormSelect 的 name , 但是搜索的值一般是中文,保存到服务段的也是 type 字段。这就导致,如果设置 type 的值,就不是要显示的值
The text was updated successfully, but these errors were encountered: