Skip to content

Commit

Permalink
Merge branch 'main' into 24-lack-of-acknowledgement-message-when-usin…
Browse files Browse the repository at this point in the history
…g-copy-icon
  • Loading branch information
illfixit authored Mar 11, 2024
2 parents 94516f6 + a36d27d commit ea94408
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ please see [changelog_updates.md](docs/dev/changelog_updates.md).
- Removed internal tools and utilities
- Rebased the entire history to remove secrets and unrelated code
- Cleaned up dead links
- Fixed an error with input validation that prevented the use of upper-case letters in zip codes [#21](https://github.com/sovity/authority-portal/issues/21)
- Changed order of industry select options [#22](https://github.com/sovity/authority-portal/issues/22)

- Added notification when user clicks on copy button [#24](https://github.com/sovity/authority-portal/issues/24)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* Contributors:
* sovity GmbH - initial implementation
*/

import {Component, HostBinding, Input} from '@angular/core';
import {FormControl} from '@angular/forms';

Expand Down Expand Up @@ -49,13 +48,13 @@ export class IndustrySelectComponent {
'Meteorological services',
'Micromobility provider',
'Municipality',
'Other',
'Passenger transportation',
'Research & Development',
'Sensor supplier',
'Software development',
'Telecommunication',
'Tourism',
'Traffic engineering',
'Other',
];
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
import {ValidatorFn} from '@angular/forms';
import {namedRegexValidator} from './named-regex-validator';

export const validZipCodePattern = /^[a-z0-9][a-z0-9\- ]{3,10}[a-z0-9]$/;
export const validZipCodePattern = /^[a-zA-Z0-9][a-zA-Z0-9\- ]{3,10}[a-zA-Z0-9]$/;

export const zipCodeValidator: ValidatorFn = namedRegexValidator(
validZipCodePattern,
Expand Down

0 comments on commit ea94408

Please sign in to comment.