Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release of v10.46 #3879

Merged
merged 17 commits into from
Sep 2, 2024
Merged

release of v10.46 #3879

merged 17 commits into from
Sep 2, 2024

Conversation

langz
Copy link
Contributor

@langz langz commented Aug 28, 2024

No description provided.

langz and others added 11 commits August 26, 2024 14:02
It seems to me that the `Build portal` step is not slower by removing
the cache. So we probably should do that so we avoid the CSS file import
issues, like
[here](https://github.com/dnbexperience/eufemia/actions/runs/10559105350/job/29249868805).
See the tests for more details about what we now allow. In short, its
not possible to have the perfect validation. Here is an [article about
the
challenge](https://www.abstractapi.com/guides/email-validation/email-address-pattern-validation).
The Regex gets way larger when we try to validate IPv4 and especially
IPv6. But I think we don't need a perfect validation for these, as these
are exceptions anyways.
Quick example:
```tsx
Input:
<Field.SelectCountry path="/myCountry" />

Output:
<Value.SelectCountry path="/myCountry" />
```
…ilterData` in onSubmit and onChange instead (#3873)

The property `filterSubmitData` on the `Form.Handler` was a way to
define a filter, so data returned in the `onSubmit` got filtered.

But I think we rather should return the filter function and let devs do
it right where it happens. We do that already in `useData` and in
`getData` that way. And now we also return `filterData` in the
`onChange` event.

The motivation is to keep consistency and rather offer declarative ways
of defining filters.

---------

Co-authored-by: Anders <[email protected]>
Copy link

vercel bot commented Aug 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
eufemia ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 2, 2024 10:21am

Copy link

codesandbox-ci bot commented Aug 28, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@langz langz merged commit 2bce26c into release Sep 2, 2024
9 checks passed
@tujoworker
Copy link
Member

🎉 This PR is included in version 10.46.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

4 participants