Koha/koha-tmpl/intranet-tmpl/prog/js/vue/components/ButtonSubmit.vue
Jonathan Druart daeccd0b8c
Bug 32925: Use a new state for this message
The previous patch didn't work, there is a validation step that make the
form non-accessible after it's greyed out.

This patch is using a new state is_submitting, like the other messages.

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-02-27 11:14:10 -03:00

16 lines
285 B
Vue

<template>
<input type="submit" variant="primary" :value="text" />
</template>
<script>
export default {
name: "ButtonSubmit",
props: {
text: {
type: String,
default: __("Submit"),
required: false,
},
},
}
</script>