Hello everyone o/
Seems to have reached an impasse now sure if what I'm trying to do is right.
I'm thinking of creating a custom form for a specific record view to have a simple operating hours for a client
Tried to do it with sugar fields http://prntscr.com/9beq42 but it seems I'm missing some logic , for the day used a list , drop down field type but this way can only save the info for a single day.
So was thinking of only have 1 sugar field of type textarea(so that it can hold the whole array > 255 chars maybe ) associated to this model that will be hidden. Create these custom form fields in the hbs view , serialize the data of the form on submit and this.model.set it with the info for each day of the month. But how would I be able to populate the custom fields when the dropdown changes? Should I this.model.get the custom textarea field and get the values based by comparing the day. I think this wouldn't work because the data will be overwritten each time I save.