---
url: "https://vueda.dev/v3/reference/api/js/use/useFormModelProps/functions/pickViewFormModelProps.md"
title: "pickViewFormModelProps"
---

# pickViewFormModelProps

## Overview

Picks the form props that a view's options carry, keyed by `FormModel` prop name.

## Signature

`pickViewFormModelProps(options)`

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| <span id="param-options">options</span> | `any` | yes | The view's props or composable options. |

### Returns

`any`

The values of VIEW_FORM_MODEL_PROPS, plus `variant` from `formModelVariant`. A prop that the options lack is `undefined`.

## Source

`client/lib/use/useFormModelProps.js:44`
