Good night!
How do I remove ---------- from my form, in some options I put a default on the model but for this option I can’t do that,
how can I solve this problem?
A solution would be to use js in the template, for this you would have to first empty select, make the append of the first element like this: append('<option value="" disabled selected>Selecione um ubc</option>'). I do this in an example project made for a response here at STO, if you want to see the whole project, at the end of the answer has the link to the project on github. Link to the question
A solution would be to use js in the template, for this you would have to first empty select, make the append of the first element like this:
append('<option value="" disabled selected>Selecione um ubc</option>')
. I do this in an example project made for a response here at STO, if you want to see the whole project, at the end of the answer has the link to the project on github. Link to the question– Sidon
I’m sorry for answering just now, thank you so much for your help
– Diogo Silva