Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML-only string editor #28

Closed
geraintluff opened this issue Dec 7, 2012 · 2 comments
Closed

HTML-only string editor #28

geraintluff opened this issue Dec 7, 2012 · 2 comments

Comments

@geraintluff
Copy link
Contributor

Currently, there is no way for a renderer to render a text input as HTML, and get any sort of callback when the value changes.

@geraintluff
Copy link
Contributor Author

Options include:

  • methods in the context to produce inputs of various types (eurgh)
  • methods in the context to locate an input and attach to it by hand (eurgh)
  • magic and rainbows

@geraintluff
Copy link
Contributor Author

Solution: created context.inputNameForAction() method.

This method returns a name for use as a form input, and then registers "change" event handlers during the enhancement sweep.

Now to actually write the string renderer...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant