Skip to content
Snippets Groups Projects
Commit f5dd0c48 authored by Jens Christian Aanestad's avatar Jens Christian Aanestad
Browse files

refactor/Added new inputClass field in BaseInput

parent 2999ede5
No related branches found
No related tags found
1 merge request!68Refactor/create goal after configuration steps
...@@ -41,6 +41,10 @@ const props = defineProps({ ...@@ -41,6 +41,10 @@ const props = defineProps({
required: { required: {
type: Boolean, type: Boolean,
default: true default: true
},
inputClass: {
type: String,
default: "form-control"
} }
}); });
...@@ -55,7 +59,7 @@ const onInputEvent = (event: any) => { ...@@ -55,7 +59,7 @@ const onInputEvent = (event: any) => {
<input :value="modelValue" <input :value="modelValue"
@input="onInputEvent" @input="onInputEvent"
:type="type" :type="type"
class="form-control" :class="inputClass"
:placeholder="placeholder" :placeholder="placeholder"
:id="inputId" :id="inputId"
:min="min" :min="min"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment