AG app - disabled fields

Wish to see a specific feature/change in future releases? Feel free to post it here, and if it gets enough "likes", we'd definitely include it in future releases!
Post Reply
grimblefritz
AppGini Super Hero
AppGini Super Hero
Posts: 336
Joined: 2015-12-23 16:52

AG app - disabled fields

Post by grimblefritz » 2016-07-13 14:23

Please add a field property of disabled. This is in addition to, not in place of, readonly.

User avatar
a.gneady
Site Admin
Posts: 1281
Joined: 2012-09-27 14:46
Contact:

Re: AG app - disabled fields

Post by a.gneady » 2016-08-08 07:56

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):

Code: Select all

$j(function(){
    $j('#fieldname').prop('disabled', true);
})
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?
:idea: 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.

grimblefritz
AppGini Super Hero
AppGini Super Hero
Posts: 336
Joined: 2015-12-23 16:52

Re: AG app - disabled fields

Post by grimblefritz » 2016-08-08 11:43

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

Post Reply