dropdown onload empty value

Questionsdropdown onload empty value
Simone asked 3 years ago

Hi Abu,
I’m going crazy with this variable. the value {id_targa} in the query comes up empty and obviously empties my dropbox.

If I replace in the query id={id_targa} with id=’242′ that is the value of col[“name”] then everything works regularly.

is not the correct way to pass the variable? am i wrong?

 

 

https://gist.github.com/simonegrid/81d929c1c34c36be426a193007ddfedd

1 Answers
Abu Ghufran Staff answered 3 years ago

Hi,

I regenerated this case locally and the reason is, when you use on load event of the field ‘id_targa’ it is not initialized yet so it’s data is not passed to backend and not replaced in your query.

If you can tell your business scenario then i can suggest some solution.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

2 + 2 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?