Problem whit Dropdown Dependent

QuestionsProblem whit Dropdown Dependent
Alexander Toth asked 6 years ago

Hello Abu, this problem is also on your demo page (dropdown-dependent.php).

In the form to add a record, when you open the Invoices dropdown list and select, for example, ‘Invoice with total 720.00’, the dropdown will show instead the first item of the list (in this case ‘Invoice with total 120.00’) and you must select a second time the correct item to show it correctly.

Problem with Dropdown Dependent

4 Answers
Abu Ghufran Staff answered 6 years ago

Hello,

To initially make fields blank, i’ve updated demo with this change:

https://phpgrid.org/demo/demos/appearance/dropdown-dependent.phps#L.72

(“value”=>“:Select…;”.$str, )

Demo: https://phpgrid.org/demo/demos/appearance/dropdown-dependent.php

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Alexander Toth answered 6 years ago

Hello, I checked your new demo page, but the problem is not solved. I select Maria Andres in the first dropdown, then I select \’Invoice with total 720.00\’ in the second dropdown and the dropdown will show \’Invoice with total 120.00\’

Abu Ghufran Staff answered 6 years ago

I got this issue on firefox. Previously i was checking on chrome.

Will be updating you back.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Abu Ghufran Staff answered 6 years ago

Fixed on firefox as well. Emailed you updated file.

Demo: https://phpgrid.org/demo/demos/appearance/dropdown-dependent.php

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

1 + 14 =

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?