Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
method default.prototype.default
import { default } from "https://deno.land/x/netlify_cms_config@v0.3.2/fields/select.ts";

Options must contain any default values

  • String values: accepts a string; defaults to an empty string. Accepts an array of strings and defaults to an empty array with multiple: true enabled.
  • Object with label and value fields: accepts an object with label and value field or an array of such objects when multiple: true is enable. Defaults to no value

Parameters

value: string | Option