-
Notifications
You must be signed in to change notification settings - Fork 725
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
Grid form #657
base: master
Are you sure you want to change the base?
Grid form #657
Conversation
Now that admin-config allows settings css class for the label, let's honor it.
Adding basic support for fieldsets and rows in the create, edit and show views.
Adding necessary css classes modifiers for a grid layout, special care needs to be taken with date inputs, as those are using col-sm-4 by default which doesn't work nice inside a grid form. More fields may need to be fixed, by now I'm only fixing those
Adding necessary changes to views so grid-forms can be used.
Great! I'm not a big fan of Also, please update the package.json to point to your admin-config fork for the time being so that the tests have a chance to pass. By the way, you should test this. Lastly, with every new feature comes a bit of documentation... please contribute that part, too. |
Mhh the nga.row suggestion makes sense, I'll do that, same for fieldsets, those aren't fields either. Ok I will change package.json, I haven't though about it before. Where should I put the docs? Suggestions? |
Probably in doc/Configuration-reference.md |
It's an awesome work, can you help me why I got 'Unknown field type "fieldset".' error? I've changed my ng-admin as shown on your Files changed, but still got that error.... |
@michaelavi are you using webpack? If not you need to switch to it, as I haven't rebuilt the files on my own branch |
Sorry for bumping this, but is this feature is ready to be pulled or needs more work ? |
I've been using it for quite sometime, but the branch needs some cleanup and testing |
@manuelnaranjo Any chance of finalizing this? Its a it of a shame that it is left so close to bring some good functionality to ng-admin |
see my comments in the discussion |
+1 for this. |
I'm sorry but I don't have the time right now on fixing this for merging, maybe someone can take over? I can help out, but I can't do my self. |
Took at quick look at the merge, but the gotoDetails() and gotoReference() changes make a lot of conflicts. |
@michaelavi did you manage to make it work? I'm having the same issue |
@fzaninotto Please merge this feature. |
@thachp it is not possibile in the current state:
|
This series of patches adds support for multiple fields in a row as suggested by #448
It's using bootstrap for generating the needed layout.
A configuration example would be: