# fluent-cart/1.7.0/assets/chunks/Categories.js

FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler, version 1.7.0. 2 lines.

- Page: https://pluginprobe.com/plugins/fluent-cart/1.7.0/code/assets/chunks/Categories.js
- Raw: https://pluginprobe.com/plugins/fluent-cart/1.7.0/raw/assets/chunks/Categories.js
- Modified: 2026-09-29T12:49:18+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-cart/1.7.0/code/assets/chunks/Categories.js#L10-L20`.

```javascript
import{K as m,f,g as p,y as r,j as s,v as a,G as v,x as h,F as y,C as _,k as g}from"./vue.esm-bundler.js?ver=1.7.0";const k={class:"input-append"},b={__name:"Categories",props:{field:{type:Object},value:{type:Object},fieldKey:{type:String}},setup(e){const c=m().ctx,o=f([]),d=()=>{c.$get("products/fetch-term").then(l=>{o.value=l.taxonomies["product-categories"].terms}).catch(l=>{}).finally(()=>{})};return p(()=>{d()}),(l,n)=>{const u=r("el-option"),i=r("el-select");return a(),s("div",k,[v(i,{modelValue:e.value[e.fieldKey],"onUpdate:modelValue":n[0]||(n[0]=t=>e.value[e.fieldKey]=t),multiple:"",placeholder:e.field.placeholder,filterable:"",remote:"","reserve-keyword":!1},{default:h(()=>[(a(!0),s(y,null,_(o.value,t=>(a(),g(u,{key:t.term_id,label:t.name,value:t.term_id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","placeholder"])])}}};export{b as default};

```
