5 comments
Comment actions Permalink

Screenshot is missing. can you attach it?


0
Comment actions Permalink

I updated with attached screen shot. Thanks.

0
Comment actions Permalink

are any errors/warnings shown when you mouse hover over the highlighted text? Can you provide the full code snippet (as text) I can use to recreate the issue?

0
Comment actions Permalink

Thanks Elena Pogorelova, yes the heighlight indicates some defects / inefficiency in the code. When the specified line of code is changed as follows, the warning vanishes.

 
option(value="#{year}", selected=input.birthYear=="#{year}") #{year}
  
Thanks again.
  
0
Comment actions Permalink

I see:) The highlighting you can see just indicates inspection violation - in this case it is 'Redundunt conditional expression' (Settings/Editor/Inspections/JavaScript/Control Flow Issues).         This inspection reports any instances of JavaScript conditional      expressions of the form condition?true:false or condition?false:true.      These expressions may be safely simplified to condition or !condition , respectively.

You can either disable this inspection or simplify your expression to avoid seeing this warning - both actions are available on Alt+Enter

0

Please sign in to leave a comment.