Docs
API
  • inputWidth

    Number

    FancyForm calculates input width for fields.
    To overwrite calculated value it needs to use inputWidth.

    Example

    
    ...
    items: [{
      type: 'string',
      label: 'Name',
      name: 'name',
      inputWidth: 70
    },{
    ...
    

    Example

    
    ...
    defaults: {
      type: 'string',
      inputWidth: 70
    },
    items: [{  
      label: 'Name',
      name: 'name'
    },{
      label: 'Sur Name',
      name: 'surname'
    },{
    ...
    

    Default

    If not set calculated from labelWidth