Which QuickBlocks version are you using?
latest from main
Which Umbraco version are you using? For example: 10.4.0 - don't just write v10
test site from the repo
Bug summary
If you create a three letter property name in all caps, such as CTA (e.g. for a link), the capitalisation of the property in the view is incorrect resulting an a exception.
This has been split out from a previous bug which contained 2 issues and this one is a little trickier to resolve.
Steps to reproduce
Create a property name using 3 letters in all caps, add the corresponding block to a page and try to view the page.
This markup
<a href="#" class="btn_01 mr-15" data-prop-name="CTA" data-prop-location="row">Donate Now</a>
results in this in the view
<a href="@row.Cta.Url" class="btn_01 mr-15" target="@row.Cta.Target">@row.Cta.Name</a>
when it should be:
<a href="@row.CTA.Url" class="btn_01 mr-15" target="@row.CTA.Target">@row.CTA.Name</a>
Expected result / actual result
The expected result is the property would appear in the page with no error
Which QuickBlocks version are you using?
latest from main
Which Umbraco version are you using? For example: 10.4.0 - don't just write v10
test site from the repo
Bug summary
If you create a three letter property name in all caps, such as CTA (e.g. for a link), the capitalisation of the property in the view is incorrect resulting an a exception.
This has been split out from a previous bug which contained 2 issues and this one is a little trickier to resolve.
Steps to reproduce
Create a property name using 3 letters in all caps, add the corresponding block to a page and try to view the page.
This markup
<a href="#" class="btn_01 mr-15" data-prop-name="CTA" data-prop-location="row">Donate Now</a>results in this in the view
<a href="@row.Cta.Url" class="btn_01 mr-15" target="@row.Cta.Target">@row.Cta.Name</a>when it should be:
<a href="@row.CTA.Url" class="btn_01 mr-15" target="@row.CTA.Target">@row.CTA.Name</a>Expected result / actual result
The expected result is the property would appear in the page with no error