Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Building dynamic form in Angular with Fluent API and JSON

License

NotificationsYou must be signed in to change notification settings

fluent-form/fluent-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

An Angular dynamic forms library powered by Fluent API and JSON.

npm versionCILicenseAngularcodecovCodeFactor

Features

  • Support for using the Fluent API and JSON.
  • Based on embedded view, no host element, supports nested layout.
  • Tree shakable, supports lazy loading and preloading.
  • Built on Angular reactive forms.
  • Supports integration with UI libraries.

Install

ng add @fluent-form/core

Docs

For documentation and examples please visithttps://fluent-form.github.io/fluent-form.

Usage

import{FluentForm}from'@fluent-form/core';import{form,button,numberField,textField,textArea}from'@fluent-form/ui-zorro';@Component({imports:[FluentForm],template:`<fluent-form [schema]="schema()" [(model)]="model" />`})exportclassExampleComponent{readonlyschema=form(()=>{textField('name').label('Name').required(true);numberField('age').label('Age').required(true);textArea('bio').label('Bio').placeholder('Tell us about yourself');button().content('Submit');});readonlymodel=signal({name:'John Doe',age:null,bio:'I love fluent form'});}

Stage

Currently in beta, we look forward to your active trial, we will continue to actively collect user feedback, rapid iteration and continuous improvement of functionality and performance.

Changelog

Learn about the latest improvements.

Support

Do you love ✨ fluent-form ✨ ? Star forthis project!

Special thanks

Thanks toJetBrains for supporting us free open source licenses.

JetBrains Logo (Main) logo

License

MIT


[8]ページ先頭

©2009-2025 Movatter.jp