Greg Bowler

Results 101 issues of Greg Bowler

With the release of v3, I want to make it very clear to anyone interested in using WebEngine of how its support is to be planned, specifically relating to the...

maintenance

If we have a `custome-element.html`, why no `custom-element.php` with its own go function? A special case for the ServiceContainer could provide an HTMLElement already referencing the correct element. This is...

enhancement
question
feature

Binding a value that isn't `stringable` causes an error currently, and so it should. However, it would be nice to be able to register a callback to stringify a class,...

enhancement
feature

The docs specify that the bind callback must return the listItem, allowing you to manipulate the contents before it's used. This is true, but isn't enforced - meaning that if...

enhancement

I would like to be able to supply some hard-coded options in the select element that come after an option with data-template attribute. For example: ```html Make a payment for...

To make things nice and simple with nested lists, a new bind key can be used to specify which property of the bound object should be used for automatically binding...

There needs to be a documented way to bind a list within a list - the inner lists get the same auto-generated IDs.

Within HTML, there might be an element that contains lots of data-binds for, say, a User, and another element that contains lots of data-binds for an Order. The User's element...

enhancement

When `bindList` is used, if the list is empty, the template parent will have all whitespace stripped so that CSS sees it as `:empty`. This should be the case for...

enhancement

Consider this class: ```php class Product { public function __construct( public readonly string $name, public readonly Price $price, ) {} } ``` Binding the `name` property as usual: `` But...

enhancement