Open Closed

Custom ePropType #5346


User avatar
0
devpayoff created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v7.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes

How can i create a custom ePropType in Prop class? I need an array of string but ePropType has only string type.

export declare const enum ePropType { Boolean = "boolean", Date = "date", DateTime = "datetime", Email = "email", Enum = "enum", Hidden = "hidden", MultiSelect = "multiselect", Number = "number", Password = "password", PasswordInputGroup = "passwordinputgroup", String = "string", Text = "text", Time = "time", Typeahead = "typeahead" }

I want to do that

{ type: ePropType.String[], name: 'Keys', id: 'keys', displayName: 'Keys', }

thank you.


1 Answer(s)
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35