Search the Community
Showing results for tags 'asmselect'.
-
Is there a way to add a (new or existing) page to the top of the asmSelect list? By default they're added at the bottom.
-
I want to add a few pages to an AsmSelect Page field inside a repeater using the following code: $trialsPage = wire("pages")->get(28422); // Get the page $trialsPage->of(false); $newTrial = $ordersPage->trial_repeater_orders->getNewItem(); // Add item to repeater foreach ($selectedProducts as $s...
- 10 replies
-
- inputfield
- asmselect
-
(and 2 more)
Tagged with:
-
Hello, I have a page field type (Multiple pages(PageArray)) with the input field type as AsmSelect. The admin users can select one or more pages from a list in the admin area. Some of those pages have children and if a checkbox is selected and the parent page has been added to the list, t...
- 1 reply
-
- page field type
- asmselect
-
(and 1 more)
Tagged with:
-
Hello, I'm coming back to you since I've finally managed to extract the 'buggy' part of my code. Here's my problem : When a player loses a level, I want this player to lose all his equipment, so I wrote : foreach ($player->equipment as $equipment) { $equipment->delete(); } But here's what h...
-
I found no way to add text "Please select..." as the first item to an AsmSelect field. Using PHP I could add a disabled option but an empty first item is always prepended to the options list. I also checked the JavaScript options but found no way to do this. Is there something I overlooked? I ca...
-
I need to make a quick and easy way to access the edit page for page selects, usually with AsmSelect; so far i have been able to use this jquery to turn the label for the AsmSelect into a link to the page editor for that selected page, but i can't figure any easy way to make it into a modal.. anyon...