Skip to content

Commit

Permalink
editor: no autocomplete on add_field field
Browse files Browse the repository at this point in the history
Closes rero/rero-ils#2037.

Co-Authored-by: Renaud Michotte <renaud.michotte@gmail.com>
  • Loading branch information
zannkukai committed Jun 25, 2021
1 parent 7de90a1 commit 91a1489
Showing 1 changed file with 15 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<!--
RERO angular core
Copyright (C) 2020 RERO
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
RERO angular core
Copyright (C) 2020 RERO
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, version 3 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<!-- from ngx-boostrap -->
<div class="w-100" *ngIf="hiddenFields$ | async as hiddenFields">
Expand All @@ -29,6 +29,7 @@
class="form-control"
typeaheadMinLength="0"
[disabled]="hiddenFields.length < 1"
autocomplete="off"
/>
<small id="addFieldHelp" class="form-text text-muted" translate>
Press space for all.
Expand Down

0 comments on commit 91a1489

Please sign in to comment.