Bug 30708: Allow modifying attribute linked with AV to another value

If a value is not in the AV list, or if it differs slightly, they would
like to force the modification of the value, without creating a new
authorised value.

Note that this could be a candidate for an option at the attribute
level if there are different needs (ie. for some attributes we don't
want to allow an other value).

Sponsored-by: BULAC - http://www.bulac.fr/

Signed-off-by: BULAC - http://www.bulac.fr/
Signed-off-by: Heather Hernandez <heather_hernandez@nps.gov>
Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-04-24 15:19:37 +02:00 committed by Tomas Cohen Arazi
parent e3c875d74a
commit d929ef8951
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F
2 changed files with 8 additions and 1 deletions

View file

@ -46,6 +46,13 @@
:options="
av_options[attribute.option_source]
"
taggable
:create-option="
attribute => ({
value: attribute,
description: attribute,
})
"
/>
</span>
<span v-else-if="attribute.type == 'free_text'">

View file

@ -103,7 +103,7 @@ function get_train_items() {
processing_attribute: processing_attributes[0],
processing_attribute_id:
processing_attributes[0].processing_attribute_id,
value: "Paraguay",
value: "Not a country",
},
{
processing_attribute: processing_attributes[1],