File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
projects/forge-lib/src/lib/core/services Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ import { EmailComponent } from '../../shared/form-components/concrete/email/emai
1212import { NumberComponent } from '../../shared/form-components/concrete/number/number.component' ;
1313import { RatingComponent } from '../../shared/form-components/concrete/rating/rating.component' ;
1414import { TextAreaComponent } from '../../shared/form-components/concrete/text-area/text-area.component' ;
15+ import { CurrencyComponent } from '../../shared/form-components/concrete/currency/currency.component' ;
16+ import { DateTimeComponent } from '../../shared/form-components/concrete/date-time/date-time.component' ;
17+ import { PhoneNumberComponent } from '../../shared/form-components/concrete/phone-number/phone-number.component' ;
1518
1619
1720@Injectable ( {
@@ -234,6 +237,18 @@ export class FormsService {
234237 this . form . components . push ( Object . assign ( new TextFieldComponent ( ) , component ) ) ;
235238 break ;
236239 }
240+ case "Currency" : {
241+ this . form . components . push ( Object . assign ( new CurrencyComponent ( ) , component ) ) ;
242+ break ;
243+ }
244+ case "Date Time" : {
245+ this . form . components . push ( Object . assign ( new DateTimeComponent ( ) , component ) ) ;
246+ break ;
247+ }
248+ case "Phone Number" : {
249+ this . form . components . push ( Object . assign ( new PhoneNumberComponent ( ) , component ) ) ;
250+ break ;
251+ }
237252 }
238253 } ) ;
239254 }
You can’t perform that action at this time.
0 commit comments