grardb
Is it possible to send POST data with `MenuItem::postAction()`?
I have a
MenuItem
in my Panel
that I want to send a POST
with:
However, I can't find any documentation on how to send POST
data in the request. This route requires a locale
field to be set. Is there a way to do this?7 replies
Dynamic `required()`/`visible()` within a Repeater
I've got a
Form
with Select
:
The Event
model has certain attributes which inform the requirements of the form, e.g. $event->is_food_provided
.
Within a Fieldset
, updating the visibility of a TextInput
works:
However, this does not seem to work when it's inside a Repeater
:
For the Repeater
, the visible()
check gets executed and is respected on page load, but not when the Select
/Event
is changed.
Is this expected behavior, am I doing something wrong, or is this a bug? I couldn't find anything in the documentation or GitHub issues about this.12 replies