<template>  
  <div class="input-wrap slt-btn slt-btn-nw">
    <v-text-field 
      v-model="params.data.keyValue"
      class="custom-input mini" 
      placeholder=""
      style="max-width:6.9375rem; min-height:1.85rem;"
      :disabled="params.data.useYN === 'N'"
    ></v-text-field>
    <v-btn class="custom-btn btn-gray" :disabled="params.data.useYN === 'N'" style="width:3.5rem; height:1.85rem" @click="fnUpdate(params)">적용</v-btn>
  </div> 
</template>

<script setup>
  // props
  const props = defineProps({
    params: Object,
  })
  function fnUpdate(item){
    props.params.clicked(item)
  }
</script>