Bug with neodatepicker ? - Forum

Forum Navigation
You need to log in to create posts and topics.

Bug with neodatepicker ?

Hi @luishp 

When I use neoDatePickerPlus it is OK, but when I use neoDatePicker I have an error on select :

Uncaught ReferenceError: $Scope is not defined

onSelect file:///E:/Philippe/Documents/VisualNeoWeb/Projets/icons_test_Test/main.js?v=9:136
_triggerOnChange file:///C:/ProgramData/SinLios/VisualNeoWeb/js/neodatepicker/datepicker.js:261
selectDate file:///C:/ProgramData/SinLios/VisualNeoWeb/js/neodatepicker/datepicker.js:400
_handleClick file:///C:/ProgramData/SinLios/VisualNeoWeb/js/neodatepicker/datepicker.js:1487
_onClickCell file:///C:/ProgramData/SinLios/VisualNeoWeb/js/neodatepicker/datepicker.js:1499
If I use neoDatePickerDestroy on page exit I have also an error even with neoDatePickerPlus or neoDatePicker
TypeError: mydatepicker.destroy is not a function

neoDatePickerDestroy main.js:136
NewPage_pageexit main.js:12
<anonymous> main.js:1
Angular 9
GotoPageNum main.js:2
GotoNextPage main.js:2
regards

Hi @phil78, you are right. PLease use neoDatePicker3 instead (attached).
Regards.

Uploaded files:
  • You need to login to have access to uploads.

thank you @luishp. It is ok now. I suppose we can remove neoDatePicker.nabp.

Regards

Damasiciccio has reacted to this post.
Damasiciccio
Quote from Phil78 on August 18, 2023, 4:52 pm

thank you @luishp. It is ok now. I suppose we can remove neoDatePicker.nabp.

Regards

Can you help me with neodatepicker3?

In my project at the end of the page I inserted the two instructions :

neoDateInit
neoDatePicker3Plus "TextInputServData" "dd-mm-yyyy" "" "it" true false "days" "days" "bottom"

In the TextInputServData I inserted the following code :

BeginJS
$App.DATA=$("#TextInputServData").val();
EndJS

The result is as in the attached image, that is, no calendar appears under the text box

Suggerimenti?

Thank you in advance

 

Uploaded files:
  • You need to login to have access to uploads.