[Frontend] Smart action form enum remove space

Hello,

I’m trying to use enum options on 2 lines (i’m using load hook) like that but with empty char instead of dash
Capture d’écran 2022-10-14 à 18.04.57

But when i replace the dash by space the frontend remove them:
Capture d’écran 2022-10-14 à 18.02.28

(form in response of my load hook)

(dom)
Capture d’écran 2022-10-14 à 18.08.39

Hello Justin,

Indeed these spaces are removed by default, as long as your field is an enum you should define your “tarif” property directly as an enum in the Sequelize model of the related table.

Kind regards,
Louis