2.1.2 • Published 3 months ago

@schemater/bootstrap v2.1.2

Weekly downloads
46
License
-
Repository
-
Last release
3 months ago

Collection of field's types for @schemater/core build on base of bootstrap

Input types

You can use input fields passing only type Input and ngModel (validation feedback is not working then)

<schemater-input-field type="text" [(ngModel)]="model"></schemater-input-field>

You can use alsoo use it with parent FormGroup (validation feedback is working). You can provide field: SchematerFieldConfig when field.id is formControlName or provide formControlName

<form [formGroup]="formGroup">
    <schemater-input-field type="text" formControlName="text"></schemater-input-field>

    <schemater-input-field [field]="{id: 'text', inputType: 'text', config: {placeholder: 'Placeholder for text'}}"></schemater-input-field>
</form>

text InputTextComponent

Config options:

  • placeholder: string - placeholder for input

checkbox InputCheckboxComponent

select InputSelectComponent

Config options:

  • options: {id:string|int, text:string}[] - options as array of 'id', 'text' object

textarea InputTextareaComponent

Config options:

  • placeholder: string - placeholder for input
  • rows: number - number of rows

password InputPasswordComponent

hidden InputHiddenComponent

int InputIntComponent

float InputFloatComponent

email InputEmailComponent

toggle InputToggleComponent

date InputDateComponent

Config options:

  • placeholder: string - placeholder for input

datetime InputDatetimeComponent

Config options:

  • placeholder: string - placeholder for input

array InputArrayComponent

Config options:

  • field: SchematerFieldConfig - definition of field required

fields-array InputFieldsArrayComponent

Config options:

  • fields: SchematerFieldConfig[] - table of fields required
2.1.2

3 months ago

2.1.1

4 months ago

2.1.0

4 months ago

2.0.0

1 year ago

1.0.1

3 years ago

1.0.0

3 years ago

0.9.2

3 years ago

0.9.1

4 years ago

0.9.0

4 years ago

0.6.2

5 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.0-4

5 years ago

0.5.0-3

5 years ago

0.5.0-2

5 years ago

0.5.0-1

5 years ago

0.5.0

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago