Hi, when grid editing a TEXT column, hitting ENTER transmits my change instead of inserting a new line.
Not sure what the best solution would be.
Kind regards, Dieter Adriaenssens. Op 11 nov. 2011 16:00 schreef "Marc Delisle" marc@infomarc.info het volgende:
Hi, when grid editing a TEXT column, hitting ENTER transmits my change instead of inserting a new line.
It makes sense that in this case a new line is added, but how should the entry be submitted in the database? If I'm not mistaken there is no submit button at the moment.
Not sure what the best solution would be.
-- Marc Delisle http://infomarc.info
------------------------------------------------------------------------------
RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
Dieter Adriaenssens a écrit :
Kind regards, Dieter Adriaenssens. Op 11 nov. 2011 16:00 schreef "Marc Delisle" <marc@infomarc.info mailto:marc@infomarc.info> het volgende:
Hi, when grid editing a TEXT column, hitting ENTER transmits my change instead of inserting a new line.
It makes sense that in this case a new line is added, but how should the entry be submitted in the database? If I'm not mistaken there is no submit button at the moment.
Dieter, by default, $cfg['SaveCellsAtOnce'] is set to false, thus not showing a submit button.
When setting it to true, a submit button appears but the field closes as soon as ENTER is hit.
If we want to support grid editing + newlines, a possible solution would be to ask the user to click outside the input field but it's less efficient.
Not sure what the best solution would be.
-- Marc Delisle http://infomarc.info
2011/11/11 Marc Delisle marc@infomarc.info:
Dieter Adriaenssens a écrit :
Kind regards, Dieter Adriaenssens. Op 11 nov. 2011 16:00 schreef "Marc Delisle" <marc@infomarc.info mailto:marc@infomarc.info> het volgende: > > Hi, > when grid editing a TEXT column, hitting ENTER transmits my change > instead of inserting a new line.
It makes sense that in this case a new line is added, but how should the entry be submitted in the database? If I'm not mistaken there is no submit button at the moment.
Dieter, by default, $cfg['SaveCellsAtOnce'] is set to false, thus not showing a submit button.
When setting it to true, a submit button appears but the field closes as soon as ENTER is hit.
If we want to support grid editing + newlines, a possible solution would be to ask the user to click outside the input field but it's less efficient.
How about ignoring Shift+ENTER for submitting? This way ENTER would submit form and Shift+ENTER would just insert a newline.
Piotr Przybylski a écrit :
2011/11/11 Marc Delisle marc@infomarc.info:
Dieter Adriaenssens a écrit :
Kind regards, Dieter Adriaenssens. Op 11 nov. 2011 16:00 schreef "Marc Delisle" <marc@infomarc.info mailto:marc@infomarc.info> het volgende:
Hi, when grid editing a TEXT column, hitting ENTER transmits my change instead of inserting a new line.
It makes sense that in this case a new line is added, but how should the entry be submitted in the database? If I'm not mistaken there is no submit button at the moment.
Dieter, by default, $cfg['SaveCellsAtOnce'] is set to false, thus not showing a submit button.
When setting it to true, a submit button appears but the field closes as soon as ENTER is hit.
If we want to support grid editing + newlines, a possible solution would be to ask the user to click outside the input field but it's less efficient.
How about ignoring Shift+ENTER for submitting? This way ENTER would submit form and Shift+ENTER would just insert a newline.
Yes but is Shift+Enter intuitive enough or do we need to - advertise it on the page - explain it in Documentation.html
2011/11/11 Marc Delisle marc@infomarc.info:
Piotr Przybylski a écrit :
2011/11/11 Marc Delisle marc@infomarc.info:
Dieter Adriaenssens a écrit :
Kind regards, Dieter Adriaenssens. Op 11 nov. 2011 16:00 schreef "Marc Delisle" <marc@infomarc.info mailto:marc@infomarc.info> het volgende: > > Hi, > when grid editing a TEXT column, hitting ENTER transmits my change > instead of inserting a new line.
It makes sense that in this case a new line is added, but how should the entry be submitted in the database? If I'm not mistaken there is no submit button at the moment.
Dieter, by default, $cfg['SaveCellsAtOnce'] is set to false, thus not showing a submit button.
When setting it to true, a submit button appears but the field closes as soon as ENTER is hit.
If we want to support grid editing + newlines, a possible solution would be to ask the user to click outside the input field but it's less efficient.
How about ignoring Shift+ENTER for submitting? This way ENTER would submit form and Shift+ENTER would just insert a newline.
Yes but is Shift+Enter intuitive enough or do we need to
- advertise it on the page
- explain it in Documentation.html
I've seen it used in a few places, but it's not common - some "Press Shift+Enter for newline" message under text field would be needed.
Hi all,
On 12 Nov, 2011, at 2:29 AM, Piotr Przybylski piotr.prz@gmail.com wrote:
2011/11/11 Marc Delisle marc@infomarc.info:
Piotr Przybylski a écrit :
2011/11/11 Marc Delisle marc@infomarc.info:
Dieter Adriaenssens a écrit :
Kind regards, Dieter Adriaenssens. Op 11 nov. 2011 16:00 schreef "Marc Delisle" <marc@infomarc.info mailto:marc@infomarc.info> het volgende:
Hi, when grid editing a TEXT column, hitting ENTER transmits my change instead of inserting a new line.
It makes sense that in this case a new line is added, but how should the entry be submitted in the database? If I'm not mistaken there is no submit button at the moment.
Dieter, by default, $cfg['SaveCellsAtOnce'] is set to false, thus not showing a submit button.
When setting it to true, a submit button appears but the field closes as soon as ENTER is hit.
If we want to support grid editing + newlines, a possible solution would be to ask the user to click outside the input field but it's less efficient.
How about ignoring Shift+ENTER for submitting? This way ENTER would submit form and Shift+ENTER would just insert a newline.
Yes but is Shift+Enter intuitive enough or do we need to
- advertise it on the page
- explain it in Documentation.html
I've seen it used in a few places, but it's not common - some "Press Shift+Enter for newline" message under text field would be needed.
Yes. I agree to use Shift+Enter and display a hint for that. I'll try to fix this and the RTL alignment on this weekend.
-- Aris Feryanto
Le 2011-11-14 10:58, Aris Feryanto a écrit :
Hi all,
On 12 Nov, 2011, at 2:29 AM, Piotr Przybylskipiotr.prz@gmail.com wrote:
2011/11/11 Marc Delislemarc@infomarc.info:
Piotr Przybylski a écrit :
2011/11/11 Marc Delislemarc@infomarc.info:
Dieter Adriaenssens a écrit :
Kind regards, Dieter Adriaenssens. Op 11 nov. 2011 16:00 schreef "Marc Delisle"<marc@infomarc.info mailto:marc@infomarc.info> het volgende: > > Hi, when grid editing a TEXT column, hitting ENTER > transmits my change instead of inserting a new line.
It makes sense that in this case a new line is added, but how should the entry be submitted in the database? If I'm not mistaken there is no submit button at the moment.
Dieter, by default, $cfg['SaveCellsAtOnce'] is set to false, thus not showing a submit button.
When setting it to true, a submit button appears but the field closes as soon as ENTER is hit.
If we want to support grid editing + newlines, a possible solution would be to ask the user to click outside the input field but it's less efficient.
How about ignoring Shift+ENTER for submitting? This way ENTER would submit form and Shift+ENTER would just insert a newline.
Yes but is Shift+Enter intuitive enough or do we need to - advertise it on the page - explain it in Documentation.html
I've seen it used in a few places, but it's not common - some "Press Shift+Enter for newline" message under text field would be needed.
Yes. I agree to use Shift+Enter and display a hint for that. I'll try to fix this and the RTL alignment on this weekend.
Hi Aris, any progress on this?