? Success

User tests: Successful: Unsuccessful:

avatar ciar4n
ciar4n
16 Oct 2016

Pull Request for Issue #12438 .

Summary of Changes

Adds highlight (border & text) to input fields if invalid.

Testing Instructions

Navigate to Global Configuration -> System. Check 'Session Lifetime' field with non integer number (0.5).

Before Patch
session-field1

After Patch
session-field2

Documentation Changes Required

None

avatar ciar4n ciar4n - open - 16 Oct 2016
avatar ciar4n ciar4n - change - 16 Oct 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 Oct 2016
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 16 Oct 2016
Category Administration Templates (admin)
avatar andrepereiradasilva
andrepereiradasilva - comment - 16 Oct 2016

hum ... imho this should be applied to all invalid fields (input, select, url, etc) not only session. i think in staging works like that

avatar ciar4n
ciar4n - comment - 16 Oct 2016

Ah I was just thinking that. I'll change this to cover all fields.

avatar ciar4n ciar4n - edited - 16 Oct 2016
avatar ciar4n ciar4n - change - 16 Oct 2016
Title
[3.7.x] Session field non interger highlight
[3.7.x] Input field invalid highlight
avatar ciar4n ciar4n - change - 16 Oct 2016
Title
[3.7.x] Session field non interger highlight
[3.7.x] Input field invalid highlight
avatar ciar4n ciar4n - edited - 16 Oct 2016
avatar C-Lodder
C-Lodder - comment - 16 Oct 2016

Just FYI, input:invalid only works for IE10 and above. IE10 is still only partially supported.

avatar zero-24 zero-24 - change - 17 Oct 2016
Milestone Added:
avatar ciar4n
ciar4n - comment - 17 Oct 2016

@andrepereiradasilva This CSS still exists in 3.7 however was been overridden. This is now the applied CSS with the latest commit so highlighting is now the same as 3.6. Thank you.

@C-Lodder True. I guess using javascript is the only B/C solution. I'll leave this PR to revert invalid highlighting to that of 3.6.

avatar andrepereiradasilva andrepereiradasilva - test_item - 17 Oct 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 17 Oct 2016

I have tested this item successfully on 1d688cd


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12443.

avatar dgt41
dgt41 - comment - 17 Oct 2016

Mixing browser's native validation with joomla's own javascript validation will require something more than the css code. Don;t get me wrong I like the idea, but it needs more than this. Although this works fine (the problem is that the rest of the fields will not behave the same...)

avatar ciar4n
ciar4n - comment - 18 Oct 2016

@dgt41 This PR no longer adds any CSS. Instead it ensures that the original bootstrap 'invalid' CSS is been used as was the case in 3.6.. https://github.com/joomla/joomla-cms/blob/staging/administrator/templates/isis/css/template.css#L1343

avatar brianteeman brianteeman - change - 29 Oct 2016
Labels Added: ?
Removed: ?
avatar brianteeman
brianteeman - comment - 15 Nov 2016

I have tested this item successfully on 1d688cd


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12443.

avatar brianteeman brianteeman - test_item - 15 Nov 2016 - Tested successfully
avatar C-Lodder
C-Lodder - comment - 15 Nov 2016

@ciar4n - conflicts need fixing before rtc is set

avatar ciar4n
ciar4n - comment - 16 Nov 2016

Thank you. Forgotten about this.

avatar brianteeman brianteeman - change - 4 Dec 2016
The description was changed
Easy No Yes
avatar brianteeman brianteeman - change - 4 Dec 2016
Labels Removed: ?
avatar brianteeman brianteeman - edited - 4 Dec 2016
avatar brianteeman
brianteeman - comment - 5 Dec 2016

I have tested this item successfully on ca1ef0e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12443.

avatar brianteeman brianteeman - test_item - 5 Dec 2016 - Tested successfully
avatar coolcat-creations
coolcat-creations - comment - 6 Dec 2016

I have tested this item successfully on ca1ef0e

tested successfully - but can it stay highlighted instead of fading out after leaving the focus?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12443.

avatar coolcat-creations coolcat-creations - test_item - 6 Dec 2016 - Tested successfully
avatar jeckodevelopment jeckodevelopment - change - 6 Dec 2016
Status Pending Ready to Commit
avatar jeckodevelopment
jeckodevelopment - comment - 6 Dec 2016

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12443.

avatar wilsonge
wilsonge - comment - 8 Dec 2016

Conflict fixes again please - sorry!

avatar ciar4n
ciar4n - comment - 9 Dec 2016

@wilsonge Fixed!

avatar rdeutz rdeutz - change - 9 Dec 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-12-09 22:27:44
Closed_By rdeutz
avatar rdeutz rdeutz - close - 9 Dec 2016
avatar rdeutz rdeutz - merge - 9 Dec 2016
avatar rdeutz rdeutz - reference | b6a26cb - 9 Dec 16
avatar rdeutz rdeutz - merge - 9 Dec 2016
avatar rdeutz rdeutz - close - 9 Dec 2016
avatar cpfeifer cpfeifer - reference | fb3e6ba - 22 Dec 16

Add a Comment

Login with GitHub to post a comment