Bug description
I've got a select field with options like 0.0 and 1.0. The value and label of the LabeledValue object will be cast to a 0 and 1 instead of 0.0 and 1.0. Options like 0.5 will be augmented correctly.
How to reproduce
Add the following select field and choose either option. Then add it to your template and see the issue.
'field'=> ['handle'=> 'seo_sitemap_priority','type'=> 'select','options'=> ['0.0'=> '0.0','1.0'=> '1.0',],],
Logs
No response
Versions
Statamic 3.3.10 Pro
Laravel 9.10.1
PHP 8.0.14
aerni/advanced-seo dev-main
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
regex (default)
Additional details
No response
Bug description
I've got a select field with options like
0.0and1.0. The value and label of theLabeledValueobject will be cast to a0and1instead of0.0and1.0. Options like0.5will be augmented correctly.How to reproduce
Add the following select field and choose either option. Then add it to your template and see the issue.
Logs
No response
Versions
Statamic 3.3.10 Pro
Laravel 9.10.1
PHP 8.0.14
aerni/advanced-seo dev-main
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
regex (default)
Additional details
No response