Open boernd opened 1 month ago
Pinging @elastic/kibana-management (Team:Kibana Management)
Seems we are checking for a property called isBeta
that doesnt exist for the type definition of scaled_float
. In the other places where we use the isBeta property we use it with optional chaining given that is an optional prop but not here where its breaking the UI. Strangely enough when submiting the form the typeDefinition
ends up being undefined which triggers the error, but using the optional chaining seems to do the job just fine.
Kibana version: 8.14.1
Elasticsearch version: 8.14.1
Server OS version: Official docker image
Browser version: Firefox 127.0.2 (64-bit)
Browser OS version: Windows 11
Original install method (e.g. download page, yum, from source, etc.): Kubernetes
Describe the bug: When editing a component template mapping in Kibana / Stack Management / Index Management, adding a numeric field of numeric type
scaled_float
does not work and throws an error.Steps to reproduce:
scaled_float
Expected behavior:
Screenshots (if relevant):![image](https://github.com/elastic/kibana/assets/807734/af1bfd9f-ef1c-407f-bcdf-07cf3eb3f347)
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context: