1.3.15 • Published 2 months ago

@experium/findy-form v1.3.15

Weekly downloads
-
License
-
Repository
github
Last release
2 months ago

Findy form

Demo

https://experium.github.io/findy-forms/

https://experium.github.io/findy-forms/form/:vacancyId

<Form />

<Form
    fields={fields}
    onSubmit={values => console.log(values)}
    opd='Personal Data Agreement'
    opdLabel='offerta'
    postFileUrl='/file'
    getFileUrl={id => `/file/${id}`}
/>

Form components

Props

  • fields: form fields array
  • initialValues: form values
  • formRender: custom form fields array renderer
  • onSubmit: onSubmit handler will be called when form will be submitted
  • apiUrl: api url
  • postFileUrl: post file url
  • getFileUrl: get file url function

  • company: company id for form state

  • language: language state
  • languageOrigin: language phone state
  • translations: i18n translation object expand or replace
  • allowFileExtensions: allow file settings for document types
  • submitting: loading
  • serverErrors: errors object
  • opd: personal data agreement text
  • opdSettings: personal data agreement settings object
  • htmlOpd: personal data agreement html template
  • getOpdValues: personal data agreement html template values map
  • opdSubmitDisabled: disable submit with no opd
  • htmlAttrs: html attrs for fields

Form fields

const fields = [
    {
        'type': 'choice',
        'field': 'k6g4lxj3',
        'required': true,
        'label': 'Choice',
        'settings': {
            'choices': [
                {
                    'id': 'k6g4lzcn',
                    'value': 'Choice 1'
                },
                {
                    'id': 'k6g4m5d9',
                    'value': 'Choice 2'
                },
                {
                    'id': 'k6g4m6qt',
                    'value': 'Choice 3'
                }
            ],
            'multiple': true
        }
    }
];

Form field types

  • text
  • email
  • personalDataAgreement
  • dictionary
  • phone
  • boolean
  • choice
  • country
  • city
  • date
  • file
1.3.15

2 months ago

1.3.13

5 months ago

1.3.14

5 months ago

1.3.10

11 months ago

1.3.11

11 months ago

1.3.12

11 months ago

1.3.9

11 months ago

1.3.8

11 months ago

1.3.7

11 months ago

1.3.6

11 months ago

1.3.5

1 year ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.1

2 years ago

1.2.53

2 years ago

1.2.56

2 years ago

1.2.57

2 years ago

1.2.54

2 years ago

1.2.55

2 years ago

1.2.58

2 years ago

1.2.59

2 years ago

1.2.60

2 years ago

1.2.61

2 years ago

1.2.1

2 years ago

1.2.41

2 years ago

1.2.42

2 years ago

1.2.40

2 years ago

1.2.45

2 years ago

1.2.46

2 years ago

1.2.43

2 years ago

1.2.44

2 years ago

1.2.49

2 years ago

1.2.47

2 years ago

1.2.48

2 years ago

1.2.52

2 years ago

1.2.50

2 years ago

1.2.51

2 years ago

1.2.38

2 years ago

1.2.39

2 years ago

1.2.37

2 years ago

1.2.35

2 years ago

1.2.36

2 years ago

1.2.34

3 years ago

1.2.32

3 years ago

1.2.33

3 years ago

1.2.30

3 years ago

1.2.28

3 years ago

1.2.29

3 years ago

1.2.27

3 years ago

1.2.25

3 years ago

1.2.26

3 years ago

1.2.19

3 years ago

1.2.20

3 years ago

1.2.23

3 years ago

1.2.24

3 years ago

1.2.21

3 years ago

1.2.22

3 years ago

1.2.15

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.9

3 years ago

1.2.6

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.1.460

3 years ago

1.1.459

3 years ago

1.1.458

3 years ago

1.1.457

3 years ago

1.1.456

3 years ago