naive-ui/demo/documentation/components/dynamicInput/enUS/basic.md
songwanli2025@163.com 4fafbb39dd refactor mode
2020-03-17 16:48:36 +08:00

345 B

Use Preset Input

By default, the preset of n-dynamic-input is input.

<n-dynamic-input
  v-model="value"
  placeholder="Please input"
  :min="3"
  :max="6"
/>
<pre>
{{  JSON.stringify(value, 0, 2) }}
</pre>
export default {
  data () {
    return {
      value: [
        '',
        '',
        ''
      ]
    }
  }
}