Acumatica 中的多重选择器选择器

问题描述 投票:0回答:1

嗨,有没有办法扩展多重选择器接受的值的限制?我发现它仅限于 10 个值。

谢谢

如果可能的话,我正在尝试将限制扩展到最多 50 个值。 Image

这是我的代码,它运行完美,但它仅限于 10 个值:

`    #region LocationID
    [PXDBString(255, IsUnicode = true)]
    [PXSelector(typeof(Search<Location.locationCD, 
        Where<Location.bAccountID, 
            Equal<Current<MAADSupplierRebates.customerID>>,
        And<Location.status, Equal<LocationStatus.active>>>>),
                typeof(Location.locationCD),
                typeof(Location.descr),
        ValidateValue = false)]
    [PXUIField(DisplayName = MAADMessages.Project, Required = true)]
    [PXDefault(PersistingCheck = PXPersistingCheck.NullOrBlank)]
    public virtual string LocationID { get; set; }
    public abstract class locationID : BqlString.Field<locationID> { }
    #endregion`

   <px:PXMultiSelector ID="edLocationID" runat="server" DataField="LocationID" AutoRefresh="True" AllowCustomItems="true" CommitChanges="True">
   </px:PXMultiSelector>
acumatica
1个回答
0
投票

我在23R2中尝试过,可以确认PXMultiSelector不限于10个项目。我还检查了PXMultiSelector的源代码,没有任何限制的迹象。 请参阅附图,我可以选择 16 个位置。

您可能以某种方式禁用了控件的垂直和水平扩展,这就是为什么您看不到更多值。

© www.soinside.com 2019 - 2024. All rights reserved.