This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "data1": [ | |
| "data11", | |
| "data12" | |
| ], | |
| "data2": [ | |
| "data21", | |
| "data22" | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Select2Select is for select data from select2 dropdown menu via fill input field | |
| * @param string $id | |
| * @param string $value | |
| */ | |
| public function Select2Select($id, $value) | |
| { | |
| $nonHashmarkId = substr($id, 1); | |
| $this->seeElement($id . ' + .select2'); | |
| $this->executeJS('$("' . $id . ' + .select2 .select2-selection").trigger({type: "mousedown", which: 1})'); |