Skip to content
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

Cannot hide Id field #244

Open
Intelligent2013 opened this issue Jan 20, 2016 · 4 comments
Open

Cannot hide Id field #244

Intelligent2013 opened this issue Jan 20, 2016 · 4 comments

Comments

@Intelligent2013
Copy link

How can I hide the 'id' field? I think this field is intended for internal database structure purposes and user should not has the possibility to edit this field. Another solution is set the 'id' field to read-only.

@elwin013
Copy link
Contributor

Field id cannot be set by user (it is read only) and it's only viewed for information purposes. Do you really need to hide id field?

@pnarem
Copy link

pnarem commented Feb 23, 2016

Yes, the users of the application always wonder about the significance and
asking us to hide it, if there is no business purpose.

On Tue, Feb 23, 2016 at 9:03 AM, Kamil Banach [email protected]
wrote:

Field id cannot be set by user (it is read only) and it's only viewed for
information purposes. Do you really need to hide id field?


Reply to this email directly or view it on GitHub
#244 (comment)
.

@pnarem
Copy link

pnarem commented Feb 23, 2016

And also how do you connect to multiple datasource with the light admin
application? can anybody help with an example?

On Tue, Feb 23, 2016 at 9:49 AM, Phani Narem [email protected] wrote:

Yes, the users of the application always wonder about the significance and
asking us to hide it, if there is no business purpose.

On Tue, Feb 23, 2016 at 9:03 AM, Kamil Banach [email protected]
wrote:

Field id cannot be set by user (it is read only) and it's only viewed for
information purposes. Do you really need to hide id field?


Reply to this email directly or view it on GitHub
#244 (comment)
.

@adeptues
Copy link

Having problems with this, as the id is editable on the form view when creating a new entity, as its default set to 0 it overrides what ever is set with that id in the db which means i need to manually change the id to something not already in the db when creating a new entity

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

4 participants