Skip to content

Commit

Permalink
GDB-8711 Add parameters to the tags-input to enable users to paste mu…
Browse files Browse the repository at this point in the history
…ltiple roles with space between them, (#1073)

Co-authored-by: YAlexandrov <72871803+yordanalexandrov@users.noreply.github.com>
  • Loading branch information
Emskiqq and yordanalexandrov authored Oct 18, 2023
1 parent 81ab5cf commit b12f2be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/js/angular/security/templates/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ <h3>{{'security.user.custom_role' | translate}}</h3>
use-strings="true"
add-on-space="true"
add-on-comma="true"
add-on-paste="true"
replace-spaces-with-dashes="false"
paste-split-pattern="[\s+]"
on-tag-added="addCustomRole($tag)"
placeholder="{{'security.user.add.custom_role.msg' | translate}}"></tags-input>
</div>
Expand Down

0 comments on commit b12f2be

Please sign in to comment.