You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I legitimately have no idea if this is the right place to do this or if this is even the right project but I'll post here to see if anyone can correct me.
My basic idea is can we extend this to add some smarts to other controls? I think to explain what I mean by that I need to show an example from some code I wrote at my job that is currently in production right now (please dont be too harsh).
This is something that shows up quite often in my day to day, I have some control that I need to populate with some data so I write this little function on the page to load the list of states into my select control from an odata api endpoint. In this case it is also selecting a default state if another control is empty, in this case an input that was also populated by a similar JS function.
Im wondering if something like the following could be done to give some smarts to the HTML control so that boilerplate such as this would no longer be necessary.
As you can see just adding some extra tags could eliminate most or all of the boilerplate javascript that a dev might encounter in their day to day. Maybe it already works this way and I just haven't read the manual closely enough to find this functionality but its something I would love to have to reduce the boilerplate in life.
The text was updated successfully, but these errors were encountered:
I legitimately have no idea if this is the right place to do this or if this is even the right project but I'll post here to see if anyone can correct me.
My basic idea is can we extend this to add some smarts to other controls? I think to explain what I mean by that I need to show an example from some code I wrote at my job that is currently in production right now (please dont be too harsh).
This is something that shows up quite often in my day to day, I have some control that I need to populate with some data so I write this little function on the page to load the list of states into my select control from an odata api endpoint. In this case it is also selecting a default state if another control is empty, in this case an input that was also populated by a similar JS function.
Im wondering if something like the following could be done to give some smarts to the HTML control so that boilerplate such as this would no longer be necessary.
EXAMPLE
As you can see just adding some extra tags could eliminate most or all of the boilerplate javascript that a dev might encounter in their day to day. Maybe it already works this way and I just haven't read the manual closely enough to find this functionality but its something I would love to have to reduce the boilerplate in life.
The text was updated successfully, but these errors were encountered: