本文介绍了Acumatica PXselector,如何在选择器控件中输入新值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的DAC DMSRouteSetting.CS
My DAC DMSRouteSetting.CS
#region RouteCD
public abstract class routeCD : IBqlField { }
[PXDBString(15)]
[PXDefault, PXUIField(DisplayName = "Route ID", Required = true)]
[PXSelector(typeof(Search4<DMSRouteSetting.routeCD, Aggregate<GroupBy<DMSRouteSetting.routeCD>>>))]
public virtual string RouteCD { get; set; }
#endregion
我想在选择器中选择一个存在的值,或者输入新值。
当前。我只是选择一个存在的值,但不能输入新值
您能帮我吗?
谢谢
I want to select a exist value in selector or typing a new value.Current. I just select a exist value but can't typing a new valueCan you help me?Thanks
推荐答案
尝试在您的选择器属性中添加ValidateValue = false
Try adding ValidateValue = false in your selector attribute
public abstract class routeCD : IBqlField { }
[PXDBString(15)]
[PXDefault, PXUIField(DisplayName = "Route ID", Required = true)]
[PXSelector(typeof(Search4<DMSRouteSetting.routeCD, Aggregate<GroupBy<DMSRouteSetting.routeCD>>>), ValidateValue = false)]
public virtual string RouteCD { get; set; }
这篇关于Acumatica PXselector,如何在选择器控件中输入新值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!