Skip to content

feature: JSON schema based dynamic forms #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dharapvj opened this issue Jan 29, 2018 · 4 comments
Open

feature: JSON schema based dynamic forms #1

dharapvj opened this issue Jan 29, 2018 · 4 comments

Comments

@dharapvj
Copy link
Contributor

Add a demo page to showcase JSON schema based dynamic form building using plugin

@dharapvj
Copy link
Contributor Author

dharapvj commented Jan 30, 2018

Lets assume following domain model..

Employee -> 
	firstName String required 100chars max, 1 char min
	lastName string required 100 chars max, 1 char min
	doj date required
	hasLeft boolean
	lastWorkingDay date
	title string required 150 characters max
	emailId - email type - required 250 characters max email validation
	cell phone - number/string masked
	ssn no - number - masked
	aadhar no. - number - masked
	addresses - array of type Address
	trainings - array of type Training

Address ->
	line1 string required 100chars max, 1 char min
	line2 string 100 chars max
	city string required
	pincode string min 5 max 9
	state string required
	country string required

Training ->
	title string required 100 chars
	startDate - date required
	endDate - date
	trainingMasterId - required integer
	grade - 1 char
       Feedback - integer (1 to 5) - to be created using star widget 

Masking is a secondary priority

@dharapvj
Copy link
Contributor Author

Latest version of this plugin (0.7.0-alpha.1) brings breaking changes.. it also brings mandatory peer dependency of Material and CDK.. which is little weird 😞

I am re-evaluating my choice of library at the moment..

@dharapvj
Copy link
Contributor Author

Also.. in the demos which I tried the page continually refreshes losing all the styles in the process..

Either the version I am using is little unstable at the moment OR I am not configuring it well.. Need to analyse it futher

@dharapvj
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant