AG app - disabled fields
-
- AppGini Super Hero
- Posts: 336
- Joined: 2015-12-23 16:52
AG app - disabled fields
Please add a field property of disabled. This is in addition to, not in place of, readonly.
Re: AG app - disabled fields
Hmm .. you could add javascript code to do this in the hooks/tablename-dv.js file (where tablename is the name of the concerned table):
Including this as a field property in AppGini would add more complexity to the UI ... Is there a really strong need for doing this rather than using the code above?
Code: Select all
$j(function(){
$j('#fieldname').prop('disabled', true);
})
AppGini plugins to add more power to your apps:
- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Mass Update plugin: Update multiple records at once and improve your workflow efficiency.
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
-
- AppGini Super Hero
- Posts: 336
- Joined: 2015-12-23 16:52
Re: AG app - disabled fields
I use disabled fields quite a bit, but I can't speak for others.
Also, I consider this request to be superseded by the following:
http://forums.appgini.com/phpbb/viewtop ... only#p6127
I arrived at that solution after experiencing unintended problems with using the disabled property. There is more discussion of that here:
http://forums.appgini.com/phpbb/viewtop ... ndex#p6041
Also, I consider this request to be superseded by the following:
http://forums.appgini.com/phpbb/viewtop ... only#p6127
I arrived at that solution after experiencing unintended problems with using the disabled property. There is more discussion of that here:
http://forums.appgini.com/phpbb/viewtop ... ndex#p6041