"manuel42" की गतिविधियाँ

  • ABP Framework version: v5.3.4
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:" Use abp-input tag with a datetime property in a modal and then change the language

Hello, I have a issue with one of the helper tags. I used the following tag in a modal:

<abp-input asp-for="Project.StartDate" type="date"/>

If I change the application language the date format of the date picker does not change. The format always have the same date format as the OS. I have tried to change it with the asp-format in the tag and the DisplayFormat annotation on the property.

Is there any other way to change the date format or need I to use a classic input tag with a jquery datepicker ?

Thanks you very much !

  • ABP Framework version: v5.3.4
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I have extended the DataBaseBlobContainer class with a new field a foreign key. In my service I want to create query which used the extended property but I cant it access after I get the IQueryable.

 IQueryable<DatabaseBlobContainer> queryable = (await _databaseBlobContainerRepository.GetQueryableAsync())
 .. here I want to use it

how can I do this ?

उत्तर

Finally I found the solution

.ForMember(dest => dest.ExtraProperties, opt => opt.MapFrom(r => new Dictionary<string, object>() { { "Category", r.Category }, .... and so on))

Maybe this will help others. Thank you maliming for your help.

उत्तर

How can I select the extensions properties from the DatabaseBlob in the mapper ? I always got a exception I tried to acces the properties like this

.ForPath(dest => dest.ExtraProperties["Category"], opt => opt.MapFrom(src => src.Category))

उत्तर

Hi same error again. I also have created the constructor.

DatabaseBlob -> BlobDto (Destination member list) Volo.Abp.BlobStoring.Database.DatabaseBlob -> IT42Portal.AssetManagement.Blob.BlobDto (Destination member list)

Unmapped properties: Category

BlobDto -> DatabaseBlob (Source member list) IT42Portal.AssetManagement.Blob.BlobDto -> Volo.Abp.BlobStoring.Database.DatabaseBlob (Source member list)

Unmapped properties: Category No available constructor.

DatabaseBlob -> CreateBlobDto (Destination member list) Volo.Abp.BlobStoring.Database.DatabaseBlob -> IT42Portal.AssetManagement.Blob.CreateBlobDto (Destination member list)

उत्तर

Done you should received the inivite

उत्तर

I have sent it as 7zip but it was blocked. How should I sent it to you ?

उत्तर

I have sent it to you.

उत्तर

Hi maliming,

thank you for checking. In the meantime I have tried to use another template where all packages have the same version (5.3.4). I got the same error.

66 प्रविष्टियों में 51 से 60 दिखा रहा है
Made with ❤️ on ABP v8.2.0-preview Updated on मार्च 25, 2024, 15:11