Hello! I hope you can help me with this I have an input_select I have created over time and the need for more fields as I can do now for example “Puertas” is in the first place.
Thank you. Regards.
Hello! I hope you can help me with this I have an input_select I have created over time and the need for more fields as I can do now for example “Puertas” is in the first place.
Thank you. Regards.
There is no command to sort an input_select’s options. The options are displayed in the order you created them in the UI. To re-order them, you will have to delete the existing options and re-enter them in the order you want.
You have a bit more flexibility if you create an input_select by defining it using YAML (in configuration.yaml
). Re-ordering the options is still a manual operation but is done using copy-paste.
Thank you very much! I finally did it in yaml.