HtmxLocationResponseData empty values

Created on 2 December 2024, 2 days ago

Problem/Motivation

The HX-Location header, when passed JSON data, only requires the path in the data. Other data elements are optional. Empty values should be filtered.

Proposed resolution

Provide empty defaults and filter out empty items in the __toString method.

πŸ› Bug report
Status

Active

Version

1.4

Component

Drupal Code

Created by

πŸ‡ΊπŸ‡ΈUnited States fathershawn New York

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024