Files
klz-cables.com/.pnpm-store/v10/files/8d/6c67e7cde5ed800c848fc957a7a820041a98ef80be5b01ee55cba57d88ed87ba7df04b44543587d6586e049dda6ecc2bd717e123fdfd6053a4bf2b98749cd5
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

25 lines
534 B
Plaintext

import { email } from '../../fields/validations.js';
export const emailFieldConfig = {
name: 'email',
type: 'email',
admin: {
components: {
Field: false
}
},
hooks: {
beforeChange: [
({ value })=>{
if (value) {
return value.toLowerCase().trim();
}
}
]
},
label: ({ t })=>t('general:email'),
required: true,
unique: true,
validate: email
};
//# sourceMappingURL=email.js.map