Skip to content

11 v_form_auto

Props

Required

  • srsurl { type: String, required: true }, - required json object format
    • srs/946 - example
    • if not in props component will try to load from query param srsurl

Optional

  • scope { type: String, required: false }
  • confirm { type: Boolean, default: false } - show confirm button

Internal

  • params - internal parameters for the form , to simplify advanced interaction form other components ( ex. v_srs_table)

UI Examples

UI

Examples

Basic html

HTML
<v_form_auto label="Form" srsurl="srs\\713" ></v_form_auto>

Html with modal

HTML
1
2
3
<v_modal label="test" @close="">
  <v_form_auto label="Form" srsurl="srs\\713" ></v_form_auto>
</v_modal>

SRS Option

HTML
1
2
3
<itm model="option" type="v_form_auto"  label="Test auto form" >
<![CDATA[ { "srsurl":"srs/715" }]]> <!--Props-->
</itm>

SRS Column

HTML
1
2
3
4
  <itm model="column" type="tlink_modal" name="locationCode" label="Kod Lokacji" ex="false" >
    <![CDATA[/get/form_auto?srsurl=srs/993/api&locationID={locationID}]]> </itm>
  <itm model="column" type="tlink_modal" name="warehouseCode" label="Kod magazynu" ex="false">
    <![CDATA[/get/form_auto?srsurl=srs/993/api&locationID={warehouseID}]]> </itm>

Custom run from url

Text Only
/get/form_auto?srsurl=srs/713