Skip to content
Permalink
Browse files
feat(select-resource-class): allow accented character (DSP-1241) (#363)
* 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 8a2654b75f3194292b2fada9239c29ffa44fe8db
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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;

0 comments on commit 8a2654b

Please sign in to comment.