Skip to main content

Questions tagged [angular-formly]

angular-formly is an AngularJS module which has a directive to help customize and render JavaScript/JSON configured forms. The formly-form directive and the formlyConfig service are very powerful and bring unmatched maintainability to your application's forms.

angular-formly
1 vote
0 answers
50 views

is front end library Formly future proof?

https://formly.dev/ Im not sure if this is the correct place to start a discussion but here it goes. Im working on an Angular project which is heavily relying on complex forms and it is expected to be ...
Bojidari's user avatar
  • 145
0 votes
0 answers
58 views

Displaying input types within a custom input type (ngx-formly)

I'm trying to create a custom input type (multiField) which displays multiple arbitrary inputs within itself. It seems like the formly-field directive should make this reasonably doable. I should just ...
Luke Bretscher's user avatar
0 votes
0 answers
21 views

How does hideexpression work with custom validation?

I have fieldGroup with hideexpression and a field with custom validation in this field group. First time the expression hide the fieldgroup and it will be visible after I push a button. My problem is ...
user23673382's user avatar
0 votes
1 answer
167 views

Add input file field to FormlyFieldConfig

I'm building a form in my project and I have to add an image selection field, that is, an input field of type file. I searched a few places on the internet and couldn't find my solution. Has anyone ...
Paulo Antonio Galleazzo's user avatar
0 votes
0 answers
47 views

Formly Repeated Section with length input

{ key: 'skewNumber', type: '#custom-input', className: 'col-6', props: { type: 'number', label: 'No. of skew :', placeholder:...
dsp's user avatar
  • 1
1 vote
0 answers
39 views

Formly Reset the Errors on Focus Out for Prime Input Mask

Formly should retain error instead of nullifying the errors for inputmask. https://stackblitz.com/edit/angular-ljcdzn-3r3fwu?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Finput-mask.component.ts,src%...
duddu sai lokesh's user avatar
0 votes
0 answers
30 views

FormGroup is returning the last active form object

I'm am working on dynamic forms, with formly on angular Typescript, the formGroup displays correctly all the time, but initially the current form is console log correctly, but when I click on another ...
David Barnes's user avatar
0 votes
2 answers
700 views

Ngx-Formly how to pass custom properties to a custom type?

I'm trying to create a formly custom type. I want to be able to pass a custom property with the call to a service in the field definition. For example { key: 'city', type: 'customType', props: { ...
Mario's user avatar
  • 4,932
0 votes
2 answers
271 views

Angulrar formly fieldGroup is not working for field with key as integer

Angular formly fieldGroup should the object but it is returning the array as value. as per formly field config, inventories property in model object should be in object but it is giving array. package....
mukesh patel's user avatar
0 votes
0 answers
91 views

Angular Formly repeat section - Async model. Not working

I'm trying to create a custom repeat type for formly (for file uploads) that takes in a certain number of fields received from the server. I'm not sure I'm being clear but overall the "...
Martin Carre's user avatar
  • 1,179
0 votes
1 answer
446 views

Angular Formly Form hook OnInit -> field.xxx is possibly undefined

Angular version: 16.0 Formly version: 6.1.8 I'd need to create a cascated select for my app. The first field is a Material Autocomplete and then the next one a simple select I'm struggling, however, ...
Martin Carre's user avatar
  • 1,179
0 votes
0 answers
261 views

Formly select from observable and server data doesn't show the value

I'm trying to have a formly select field display the existing value automatically but for some reason it doesn't show up. Here's a simplified example: stackblitz (formly's forked) and here's the code: ...
Martin Carre's user avatar
  • 1,179
0 votes
2 answers
142 views

Hide filed in Angular Formly

How to hide fields in formly , cause hide expression hiding the DOM by display:none which alter the position of other element in the current and previous rows . I have a requirement to hold on to the ...
Aravind's user avatar
1 vote
1 answer
636 views

Styling Formly Form Custom Wrapper + Custom Type

So I'd like to have a mat-autocomplete using formly-forms and have a add and delete button at the end of each autocomplete. Most importantly I want this "duo" of autocomplete + button to ...
Martin Carre's user avatar
  • 1,179
0 votes
1 answer
66 views

How to achieve that in the property of a model that expects an array the added value is kept within the array?

I have the following models. as you can see email expects a string array export interface Member { id: string; name: string; lastName: string; emails: string[]; } export type MemberPreview = ...
Mario's user avatar
  • 4,932

15 30 50 per page
1
2 3 4 5
31