<template>
	<div class="form-group">
        <label v-if="label" for="name">{{ label }}</label>
        <b-row class="mb-2"
            v-for="(input, $index) in form[input_name]" :key="$index"
        >
            <b-col md="12">
                <input type="text"
                    class="form-control mb-1" 
                    v-model="form[input_name][$index]"
                    :readonly="true"
                 >
            </b-col>
        </b-row>
    </div>
</template>


<script type="text/javascript">
	export default {
		props: ['input_name', 'form', 'label'],
	}
</script>