Martin Auswöger

Results 436 comments of Martin Auswöger

I also tested the same configuration in Contao 4.13, everything is allowed there (create, read, update, delete). But the edit mask shows no fields.

But isn’t it inconsistent now? Why is duplication not allowed?

Currently create and update are not allowed if there is no permission for `USER_CAN_EDIT_FIELDS_OF_TABLE`. IMO it would be consistent to also disallow deletions in this case, leaving only the read...

> If you cannot update any field of the table, you cannot copy a record… I don’t think that is how CRUD works. For copying a record I need the...

I think we need to use the correct base URL here: https://github.com/contao/contao/blob/d84a67a014443086c6149668172c7649f016e69e/core-bundle/src/Routing/ResponseContext/CoreResponseContextFactory.php#L104 In Contao 5 this is probaly not an issue because `{{link_url::9}}` would already return a URL that starts...

> wouldn't that also mean that it'd be better to use native buttons inside the legends then? IMO yes. Changing `…` to `…` should already handle all the accessibility features...

> It would still need to collapse / open the fieldset, hence still needing the data-action The `data-action="…"` of the `` should be enough for that. But I agree, styling...

> Is there a workaround for this, or is there a proposed replacement? `.first` is the same as `.header + .event` `.last` is the same as `.event:has(+.header), .event:last-of-type` But be...

> will give you basically multiple "first events" depending on how many headers there are. Same as it was in Contao 4 with the `.first` class, right? > In some...

As discussed in the call today, we want to set `$this->groupIndex` and `$this->groupCount` for the `event_*` templates to make it possible to handle all cases that where previously possible using...