Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

628 B
Raw Blame
/**
 * For a field that holds somebody else's details: a place's e-mail and phone,
 * the account an admin is creating. Password managers read such a field as a
 * login and offer, or simply fill in, the signed-in user's own credentials.
 * `autocomplete="off"` alone does not stop them (1Password ignores it on
 * purpose), so each one gets its own opt-out. Never use it on a login or on the
 * user's own account fields, where autofill is wanted.
 */
export const NO_AUTOFILL = {
  autoComplete: 'off',
  'data-1p-ignore': 'true',
  'data-lpignore': 'true',
  'data-bwignore': 'true',
  'data-form-type': 'other',
} as const;