1ed
Repos
73
Followers
57
Following
133

Events

Created at 1 day ago
started
Created at 2 days ago
Created at 3 days ago
started
Created at 2 weeks ago
Created at 2 weeks ago
started
Created at 3 weeks ago
Created at 3 weeks ago
Created at 3 weeks ago
started
Created at 3 weeks ago
Created at 3 weeks ago
started
Created at 3 weeks ago
issue comment
datetime is undefined and not exported from the rrule module

See #553

Created at 1 month ago
opened issue
2.7.1 release is messed up

The 2.7.1 release is not merged into master.

image

image

As you can see package.json in master and for the 2.7.1 tag both contains 2.7.1 but they are different versions. Could you please merge the release branch into master and bump the version number and release a new version?

Created at 1 month ago
Created at 1 month ago
issue comment
[Autocomplete] Turning off javascript causes no options to be rendered in custom AutocompleteField

I think that's how it should work. When using the autocomplete with ajax it should render an empty field on the server. For testing it you should run the tests in a browser e.g. using panther. If you really want to test it without js e.g. with Symfony's WebTestCase just add the data when posting the form, something like this:

// create a phone entity, or just use an existing id
$phone = PhoneFactory::createOne(['name' => 'Test Number']);

// get the form
$form = $crawler->filter('button[type="submit"][value="saveAndReturn"]')->form([], 'POST');

// without js autocomplete selects are empty, so we need to disable validation
$form['ParentFormName[Phone][autocomplete]']->disableValidation();
self::$client->submit($form, [
    'ParentFormName[Phone][autocomplete][]' => $phone->getId(),
]);
Created at 1 month ago
push
1ed push 1ed/ux

[LiveComponent] Fix live component rendering when loaded from bfcache

Created at 1 month ago
push
1ed push 1ed/ux

[LiveComponent] Fix live component rendering when loaded from bfcache

Created at 1 month ago
push
1ed push 1ed/ux

[LiveComponent] Fix live component rendering when loaded from bfcache

Created at 1 month ago
push
1ed push 1ed/ux

[LiveComponent] Fix live component rendering when loaded from bfcache

Created at 1 month ago
pull request opened
[LiveComponent] Fix live component rendering when loaded from bfcache

| Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Tickets | - | License | MIT

I have a live component with a form. On a fresh initial page load it works normally, but when I submit the form (not with ajax) and the controller redirects to another page and I come back using the browsers back button the live forms stops working. It does not re-render because of this check

https://github.com/symfony/ux/blob/73c656950c640b9a7f9aa9871356f0a24de61df7/src/LiveComponent/assets/src/live_controller.ts#L487-L490

If I comment it out, or I enable Turbo, it works. I think this is because bfcache of the browser. If I change the beforeunload listener to unload it works too, but that disables the cache.

Why we need this check? Can we leave it out? If we really need it we can use pagehide and pageshow instead. See https://webkit.org/blog/516/webkit-page-cache-ii-the-unload-event/

Created at 1 month ago
create branch
1ed create branch fix-live-after-unload
Created at 1 month ago
create branch
1ed create branch autocomplete-errors
Created at 1 month ago
pull request opened
[LiveComponent] Fix attribute usage in docs

| Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Tickets | - | License | MIT

Created at 1 month ago
push
1ed push 1ed/ux

[LiveComponent] Fix attribute usage in docs

Created at 1 month ago
create branch
1ed create branch fix-docs
Created at 1 month ago
push
1ed push 1ed/ux

[Website] Simplify live collection buttons

Created at 1 month ago
push
1ed push 1ed/ux

[Website] Simplify live collection buttons

Created at 1 month ago
issue comment
[Website] use `LiveCollectionTrait` for live form collection demo

#421 was merged, so this should work after rebase https://github.com/1ed/ux/commit/93da3b318f80d81dea687f67ee1a67e49f9020eb

Created at 1 month ago
create branch
1ed create branch website-live-form-collection
Created at 1 month ago
delete branch
1ed delete branch tweak-live-collection-rendering
Created at 1 month ago