Skip to content

Commit

Permalink
feat(select-resource-class): allow accented character (DSP-1241) (#363)
Browse files Browse the repository at this point in the history
* refactor(select-resource-class): update regex pattern to allow accented character

* refactor(select-resource-class): update the pattern

Co-authored-by: flaurens <flavie.laurens@unibas.ch>
  • Loading branch information
flavens and flaurens committed Jan 20, 2021
1 parent 5885b04 commit 8a2654b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -39,7 +39,7 @@ export class SelectResourceClassComponent implements OnInit, OnDestroy, AfterVie

form: FormGroup;

checkPattern = '^\d*[a-zA-Z0-9_]+( [a-zA-Z0-9@_.]+)*$';
checkPattern = '^\d*[a-zA-Z0-9\u00C0-\u024F\u1E00-\u1EFF_]+( [a-zA-Z0-9\u00C0-\u024F\u1E00-\u1EFF@_.]+)*$';

resourceChangesSubscription: Subscription;

Expand Down

0 comments on commit 8a2654b

Please sign in to comment.