Open Closed

Input date is saved as null in arabic language #7118


User avatar
0
oshabani created
  • ABP Framework version: v5.1.1
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Tiered
  • Exception message and full stack trace: if i try to save the exisitng date without any change it submitted as null in arabic language mode
  • Steps to reproduce the issue: In arabic language mode, once you choose any date from calandar and save, it will save but on second attempt if you save the date again without any change it will save as null. That means everytime you choose the date from calendar it will save correctly but if there is no change and try to save as is,it will save the date as null.

In this image you can see first date I changed which has different format than other fields before save. So on save only this field will be saved and others will save as null.


9 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Could you please share a simple project to reproduce the problem? I will check it. shiwei.liang@volosoft.com

    thanks

  • User Avatar
    0
    oshabani created

    I sent you the project.

  • User Avatar
    0
    oshabani created

    Any update?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    Sorry for that; the email was in the spam folder, I didn't notice.

    I'm trying to download the project but can't reach it. could you try to use Google Drive? thanks.

  • User Avatar
    0
    oshabani created

    Please try this link to download the project https://drive.google.com/file/d/1P916AsMgEubczSnbM6../view?usp=sharing

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Ok, I'm checking.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I could not reproduce the problem.

    When I refresh the page and save the changes, the date is still there

  • User Avatar
    0
    oshabani created

    Please download the following video file that shows the problem:

    https://drive.google.com/file/d/1uR3pDtsQGF0dx_PdYHwL2j_R1V3NzZNG/view?usp=sharing

    The problem is posting date format

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    HI,

    You can try to add abp-data-datepicker=false to abp-input.

    For example:

    <abp-input abp-data-datepicker=false asp-for="Vendor.SaudizationExpiryDate" label="@L["SaudizationExpiryDate"].Value *" type="date" disabled="@isDisabled" />

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11