Starts in:
0 DAY
4 HRS
2 MIN
29 SEC
Starts in:
0 D
4 H
2 M
29 S
Open Closed

Select DataPicker Field #6565


User avatar
0
nabass created

Good evening sir, i use (abp dynamic form) tag it's create Forms magic but if i want to use specific field to do something css style or js code how can i get it's Id ?? i went to console to get Id and it's work but it is not working with datapicker like Date Time i attached link video below to see what happen FYI: when i tried to catch any Id from dynamic forms into Javascript file it doesn't work or change what i want to do like image below Id selector just working with css but not working with js hope you can help me please

Video Link: https://streamable.com/3xrd2g

Image Link:

  • ABP Framework version: v8
  • UI Type: MVC
  • Database System: EF Core (SQL Server)

3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The input is hidden.

    You can try the code below to listen to the event.

    $("#inputId").datepicker()
    .on("changeDate", function(e) {
        // `e` here contains the extra attributes
        debugger
    });
    

    https://bootstrap-datepicker.readthedocs.io/en/latest/events.html

  • User Avatar
    0
    nabass created

    hi sir it doesn't work i tried to give id display block but it still hidden see this datapicker i want when it date is changed to alert something just for try if it works or not i took your code response but still not working i even catch all form control to make any change but no javascript

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please share a simple project liming.ma@volosoft.com

    Thanks

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