Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
saas
-
None
-
None
-
2
-
Orion
-
Orion.Cycle3.Sprint, Orion.Cycle4.Sprint
-
Undetermined
-
Small (1-2)
Description
When you define a component parameter type as Number in the Site development in the Default field you can set a decimal number eg. 5.697796 as used in the Reference Google Maps component
However, when you drag and use the component in the experience manager the default value shows up fine but you can not edit/save a decimal value. You get an error "Use numbers only".
And if we see the configured parameter in the console it has hst:valuetype=decimal but the default value is stored as String.
See attached screenshots
Testing
Option 1
Import the attached yaml to
/hst:hap/hst:configurations/hap/hst:catalog/hap-catalog |
Then do the following steps:
- Go to HAP channel
- Add the Google Maps component
- In the Latitude field enter a decimal number
Expected result:
It accepts a decimal number
Actual result:
Save button disabled. A message appears Use numbers only
Option 2
Or you can start the archetype project and add the OpenStreetMap component.