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 = "")]
  uPXUIField(DisplayName = "Clave")]
  public virtual string Clave { get; set; }
  public abstract class clave : PX.Data.BQL.BqlString.Field<clave> { }
  #endregion
  #region Descripcion
  pPXDBString(254, IsUnicode = true, InputMask = "")]
  UPXUIField(DisplayName = "Descripcion")]
  public virtual string Descripcion { get; set; }
  public abstract class descripcion : PX.Data.BQL.BqlString.Field<descripcion> { }
  #endregion
Â