Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend - Documentation #15

Open
jaballogian opened this issue Aug 29, 2022 · 0 comments
Open

Frontend - Documentation #15

jaballogian opened this issue Aug 29, 2022 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation ui ui, frontend

Comments

@jaballogian
Copy link
Contributor

jaballogian commented Aug 29, 2022

This issue is just documentation.

Deployed app: https://dev.worx.id/sign-in

List of licenses:

JSON object form:

Component Design: https://whimsical.com/sketch-3aN9P3fud7mpb1hWt4A4w3

{
  label: 'Eksplor - 2',
  description: 'Contoh Deskripsi',
  submit_in_zone: true,
  default: true
  fields: [
    {...},
    {...},
    ...
  ],
}

JSON object form fields sample:

  1. Text Field
{
  id: '7231942686725',
  label: 'Text field 1',
  description: 'description',
  required: true,
  type: 'text',
  minLength: 0,
  maxLength: 24,
}
  1. Checkbox
{
  id: '23565229205',
  label: 'Checkboxes',
  description: 'description',
  required: false,
  minChecked: 1,
  maxChecked: 3,
  group: [
    {
      label: 'Option #1'
    },
    {
      label: 'Option #2'
    },
    {
      label: 'Option #3'
    }
  ],
  type: 'checkbox_group'
}
  1. Radio Button
{
  id: '2356760777462',
  label: 'Radiobuttons',
  description: 'description',
  required: true,
  options: [
    {
      label: 'Option #1'
    },
    {
      label: 'Option #2'
    },
    {
      label: 'Option #3'
    }
  ],
  type: 'radio_group'
}
  1. Dropdown
{
  id: '2357109577409',
  label: 'Dropdown',
  description: 'description',
  required: false,
  options: [
    {
      label: 'Option #1'
    },
    {
      label: 'Option #2'
    },
    {
      label: 'Option #3'
    }
  ],
  type: 'dropdown'
}
  1. Date
{
  id: '2357265606749',
  label: 'Date',
  description: 'description',
  required: false,
  disableFuture: false,
  disablePast: true,
  type: 'date'
}
  1. Separator
{
  id: '23575153539',
  label: 'Separator',
  description: 'description',
  type: 'separator'
}
  1. Rating
{
  id: '2357523970968',
  label: 'Rating',
  description: 'description',
  required: false,
  maxStars: 5,
  type: 'rating'
}
  1. File
{
  id: '2357526469860',
  label: File',
  description: 'description',
  required: true,
  maxFiles: 6,
  maxFileSize: 10485760,
  minFileSize: 128,
  fileMinSizeType: 'MB',
  fileMaxSizeType: 'MB',
  allowedExtensions: [
    'csv',
    'doc',
    'docx'
  ],
  type: 'file'
}
  1. Image
{
  id: '2357527652279',
  label: 'Image',
  description: 'description',
  required: false,
  maxFiles: 6,
  allowGalleryUpload: true,
  type: 'photo'
}
  1. Signature
{
  id: '2357528685219',
  label: 'Signature',
  description: 'description',
  required: false,
  type: 'signature'
}
  1. Time
  1. Barcode
  1. Sketch
  1. Yes/No
  1. Integer
@jaballogian jaballogian added the documentation Improvements or additions to documentation label Aug 29, 2022
@jaballogian jaballogian self-assigned this Aug 29, 2022
@jaballogian jaballogian added the ui ui, frontend label Sep 5, 2022
@jaballogian jaballogian changed the title Frontend - Temporary Documentation Frontend - Documentation Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation ui ui, frontend
Projects
None yet
Development

No branches or pull requests

1 participant