component parameters keep getting changed to lowercase

The Welkin Suite Forum

component parameters keep getting changed to lowercase



component parameters keep getting changed to lowercase

  • Please log in to reply

#1

luke.humphrey

    Posted 07 Dec 2016

    I am writing a lightning component and I have this following line of code at line 66:

    aura:iteration items="{!v.oProducts}" var="product" indexVar="index"

    When I start changing code at say line 40 the IDE is changing my indexVar parameters to indexvar which in turn cause my code to not work.



    I have reproduced this by adding a div to the top of the itertation tag and at the bottom, looks like it may be tied to the auto indent/formatting of the code.


    3 replies to this topic

    #2

    kate.dulko

      Posted 08 Dec 2016

      Hi Luke,



      Thank you for your contacting us with this information.

      This is known issue to us, and we will solve this.

      Currently, as a workaround, you can disable the 'Format on paste' option. This is available for you in the following way: Main Menu -> Tools -> Options -> Text Editor -> HTML -> Advanced. There you will see the 'Paste' section with the 'Format on paste' option. Please change its value to the 'False'.

      I kindly ask you to inform us if this workaround is acceptable for you and if this works in your case.



      Thank you,

      Kate

      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina
      e-mail: kate.dulko@welkinsuite.com

       

        


      #3

      luke.humphrey

        Posted 16 Dec 2016

        I had decided to not mess with the settings and instead fix the formatting as it broke so that way I wouldnt have all these settings I am missing on an update but the re-formatting quickly became infuriating so I broke down and modified the setting, it works to my satisfaction I just hope I can remember to undo these settings when a new update comes out that fixes these bugs.


        #4

        kate.dulko

          Posted 19 Dec 2016

          Hi Luke,


          Thank you for your response.

          Our developers are working on this issue, and currently, we will change the value of the 'Format on paste' option to the 'False' by default. This will help to avoid the issue.

          Our developers will investigate this deeper and when they will find the way to fix this, we will announce details.


          Thank you,

          Kate


          Kate Dulko
          Customer Relations

          The Welkin Suite

          twitter: @KateDulko
          skype id: d_katerina
          e-mail: kate.dulko@welkinsuite.com

           

            





          Boost Your Productivity. Get Started Today

          Try Free Trial