Skip to content

Conversation

frothedoatmilk
Copy link
Contributor

@frothedoatmilk frothedoatmilk commented Aug 25, 2025

Moving towards #89. Tackling this first because it will make solving that easier.

This addition we inject into the Rails form builders is just a partial in disguise. The JS here has gotten a little looser in terms of locating what we're changing, but this JS should only ever interface with the code in the _with_increment_buttons partial. The existing code is functional, but it is not nearly as flexible as rails internals are (i.e. when dealing with #89, our form builder will try to call obstacle_89 on form elements).

We can continue to maintain this custom version of a number field, or we can just drop it and delegate more work off to Rails. (I think my preference is clear)

@frothedoatmilk frothedoatmilk requested a review from werebus August 25, 2025 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant