Hi, I have a problem with a PXSelector, when I try to select an option, the field don't select the value, just select and clear the value
this is my code.
#region PermisoSCT
[PXDBString(50, IsKey = true, IsUnicode = true, InputMask = ">CCCCCCCCCCCCCCC")]
[PXDefault(PersistingCheck = PXPersistingCheck.NullOrBlank)]
[PXUIField(DisplayName = "Permiso SCT", Visibility = PXUIVisibility.SelectorVisible)]
[PXSelector(typeof(Search<c_TipoPermiso.clave>),
typeof(c_TipoPermiso.descripcion))]
public virtual string PermisoSCT { get; set; }
public abstract class permisoSCT : PX.Data.BQL.BqlString.Field<permisoSCT> { }
#endregion
and this is my code from the values for the pxSelector
#region Clave
[PXDBString(6, IsUnicode = true, InputMask = "")]
[PXUIField(DisplayName = "Clave")]
public virtual string Clave { get; set; }
public abstract class clave : PX.Data.BQL.BqlString.Field<clave> { }
#endregion
#region Descripcion
[PXDBString(254, IsUnicode = true, InputMask = "")]
[PXUIField(DisplayName = "Descripcion")]
public virtual string Descripcion { get; set; }
public abstract class descripcion : PX.Data.BQL.BqlString.Field<descripcion> { }
#endregion